learndash_setup_rewrite_flush()
Utility function to set the option to trigger flush of rewrite rules.
Description #
This is checked during the ‘shutdown’ action where the rewrites will then be flushed.
Source #
Related #
Namespace #
@package #
Used By #
Used By | Description |
---|---|
includes/settings/settings-sections/settings-sections-payments/class-ld-settings-section-paypal.php: LearnDash_Settings_Section_PayPal::filter_section_save_fields () |
Filter the section saved values. |
includes/settings/settings-sections/class-ld-settings-section-groups-cpt.php: LearnDash_Settings_Groups_CPT::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |
includes/class-ld-cpt.php: SFWD_CPT::add_post_type () |
Registers the custom post type, adds filter to register taxonomy and flushes rewrite rules after registration |
includes/class-ld-lms.php: SFWD_LMS::activate () |
Fire on plugin activation |
includes/settings/settings-sections/class-ld-settings-section-permalinks.php: LearnDash_Settings_Section_Permalinks::load_settings_values () |
Initialize the metabox settings values. |
includes/settings/settings-sections/class-ld-settings-section-permalinks.php: LearnDash_Settings_Section_Permalinks::save_settings_fields () |
Save the metabox fields. This is needed due to special processing needs. |
includes/settings/settings-sections/class-ld-settings-section-quizzes-cpt.php: LearnDash_Settings_Quizzes_CPT::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |
includes/settings/settings-sections/class-ld-settings-section-courses-cpt.php: LearnDash_Settings_Courses_CPT::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |
includes/settings/settings-sections/class-ld-settings-section-lessons-cpt.php: LearnDash_Settings_Lessons_CPT::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |
includes/settings/settings-sections/class-ld-settings-section-courses-management-display.php: LearnDash_Settings_Courses_Management_Display::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |
includes/settings/settings-sections/class-ld-settings-section-permalinks-taxonomies.php: LearnDash_Settings_Section_Permalinks_Taxonomies::save_settings_fields () |
Save the metabox fields. This is needed due to special processing needs. |
includes/settings/settings-sections/class-ld-settings-section-topics-cpt.php: LearnDash_Settings_Topics_CPT::section_pre_update_option () |
Intercept the WP options save logic and check that we have a valid nonce. |