locker' );
$this->loader->add_action( 'wpstory_before_story_delete', $plugin_admin, 'ajax_demo_blocker' );
$this->loader->add_action( 'wpstory_before_story_submit', $plugin_admin, 'ajax_demo_blocker' );
$this->loader->add_filter( 'plugin_action_links_' . $plugin_basename, $plugin_admin, 'settings_link' );
$this->loader->add_action( 'csf_options_before', $plugin_admin, 'options_before_html' );
$this->loader->add_action( 'csf_options_after', $plugin_admin, 'options_after_html' );
$this->loader->add_action( 'wp_ajax_wpstory_video_metabox_handle', $plugin_admin, 'video_metabox_handle' );
$this->loader->add_action( 'wp_ajax_wpstory_remove_notice', $plugin_admin, 'remove_notice' );
}
/**
* Register all of the hooks related to the public-facing functionality
* of the plugin.
*
* @since 1.0.0
* @access private
*/
private function define_public_hooks() {
$plugin_public = new Wpstory_Premium_Public( $this->get_plugin_name(), $this->get_version() );
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
$this->loader->add_action( 'rest_api_init', $plugin_public, 'rest_api' );
$this->loader->add_action( 'rest_api_init', $plugin_public, 'author_rest_api' );
$this->loader->add_shortcode( 'wpstory', $plugin_public, 'shortcode' );
$this->loader->add_shortcode( 'wpstory-user-public-stories', $plugin_public, 'user_public_stories_shortcode' );
$this->loader->add_shortcode( 'wpstory-user-single-stories', $plugin_public, 'user_single_stories_shortcode' );
$this->loader->add_shortcode( 'wpstory-activities', $plugin_public, 'activities_shortcode' );
$this->loader->add_shortcode( 'wp-story-merged-user-stories', $plugin_public, 'merged_user_stories_shortcode' );
$this->loader->add_shortcode( 'wp-story-single-stories', $plugin_public, 'single_stories_shortcode' );
$this->loader->add_shortcode( 'wp-story-public-stories', $plugin_public, 'public_stories_shortcode' );
$this->loader->add_shortcode( 'wp-story-self-stories', $plugin_public, 'self_stories_shortcode' );
// Deprecated shortcodes.
$this->loader->add_shortcode( 'wp-story', $plugin_public, 'deprecated_shortcode' );
$this->loader->add_shortcode( 'wp-story-user-stories', $plugin_public, 'user_stories_deprecated_shortcode' );
$this->loader->add_shortcode( 'wp-story-user-single-stories', $plugin_public, 'user_single_stories_deprecated_shortcode' );
$this->loader->add_shortcode( 'wp-story-activities', $plugin_public, 'activities_deprecated_shortcode' );
}
/**
* Run the loader to execute all of the hooks with WordPress.
*
* @since 1.0.0
*/
public function run() {
$this->loader->run();
}
/**
* The name of the plugin used to uniquely identify it within the context of
* WordPress and to define internationalization functionality.
*
* @return string The name of the plugin.
* @since 1.0.0
*/
public function get_plugin_name() {
return $this->plugin_name;
}
/**
* The reference to the class that orchestrates the hooks with the plugin.
*
* @return Wpstory_Premium_Loader Orchestrates the hooks of the plugin.
* @since 1.0.0
*/
public function get_loader() {
return $this->loader;
}
/**
* Retrieve the version number of the plugin.
*
* @return string The version number of the plugin.
* @since 1.0.0
*/
public function get_version() {
return $this->version;
}
}
Fatal error: Uncaught Error: Class 'Wpstory_Premium' not found in /var/www/html/despertacidade.com/web/wp-content/plugins/wp-story-premium/wp-story-premium.php:90
Stack trace:
#0 /var/www/html/despertacidade.com/web/wp-content/plugins/wp-story-premium/wp-story-premium.php(95): wpstory_premium_run()
#1 /var/www/html/despertacidade.com/web/wp-settings.php(473): include_once('/var/www/html/d...')
#2 /var/www/html/despertacidade.com/web/wp-config.php(101): require_once('/var/www/html/d...')
#3 /var/www/html/despertacidade.com/web/wp-load.php(50): require_once('/var/www/html/d...')
#4 /var/www/html/despertacidade.com/web/wp-blog-header.php(13): require_once('/var/www/html/d...')
#5 /var/www/html/despertacidade.com/web/index.php(17): require('/var/www/html/d...')
#6 {main}
thrown in /var/www/html/despertacidade.com/web/wp-content/plugins/wp-story-premium/wp-story-premium.php on line 90