SFWD_CPT::show_content()
Method: To show content or not
SFWD_CPT::show_content Read More »
@package: LearnDash / CPT
Source Files: includes/class-ld-cpt.php
Method: To show content or not
SFWD_CPT::show_content Read More »
Method: Shortcode that generates a list of items in this post type
SFWD_CPT::loop_shortcode Read More »
Method: Sets up taxonomy to be registered, does not actually register the taxonomy
SFWD_CPT::register_tax Read More »
Method: Registers the custom post type, adds filter to register taxonomy and flushes rewrite rules after registration
SFWD_CPT::add_post_type Read More »
Method: Sets up admin menu item for post type
SFWD_CPT::admin_menu Read More »
Method: Set up post type and taxonomy to be registered
SFWD_CPT::__construct Read More »
Method: Function to dynamically control the ‘the_content’ filtering for this post_type instance.
SFWD_LMS::content_filter_control Read More »
Method: Course category row actions
SFWD_LMS::ld_course_category_row_actions Read More »
Method: Add support for alternate templates directory.
SFWD_LMS::init_ld_templates_dir Read More »
Method: Pre Update site option active sitewide plugins
SFWD_LMS::pre_update_site_option_active_sitewide_plugins Read More »
Method: Site option active sitewide plugins
SFWD_LMS::site_option_active_sitewide_plugins_proc Read More »
Method: This is called from the update_options() function for the option ‘active_plugins’. Using this filter we can remove our plugin path we added via the option_active_plugins_proc filter.
SFWD_LMS::pre_update_option_active_plugins Read More »
Method: This is called from the get_options() function for the option ‘active_plugins’. Using this filter we can append our LearnDash plugin path, allowing other plugins to check via is_plugin_active() even if learndash is installed in a non-standard plugin directory.
SFWD_LMS::option_active_plugins_proc Read More »
Method: Called from the ‘pre_current_active_plugins’ action. This is called after the Plugins listing checks for valid plugins. The will let us unset our internal flag ‘ALL_PLUGINS_CALLED’.
SFWD_LMS::pre_current_active_plugins_proc Read More »
Method: Called from the ‘all_plugins’ filter. This is called from the Plugins listing screen and will let us set our internal flag ‘all_plugins_called’ so we know when (and when not) to add the learndash plugin path
SFWD_LMS::all_plugins_proc Read More »
Method: Get LearnDash template and pass data to be used in template
SFWD_LMS::get_template Read More »
Method: Register taxonomies for each custom post type
SFWD_LMS::tax_registration Read More »