public static function get_widget_data(SettingsPage $settingsPage) { if ($widgetId = self::get_widget_id($settingsPage)) { if ($widgetData = CxenseApi::get_widget_data($widgetId)) { return $widgetData; } } return null; }
public static function delete_post($postId) { return CxenseApi::pingCrawler($postId, true); }
private function bootstrap() { Post::watch_post_changes($this->settings); Scripts::bootstrap($this->settings); CxenseApi::bootstrap($this->settings); }