LearnDash_Settings_Page
Class for LearnDash Settings Pages.
Description #
Source #
Changelog #
Version | Description |
---|---|
2.4.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- add_page_instance — Function to set/add setting page to instances array.
- admin_init — Action hook to handle admin_init processing from WP.
- admin_menu — Action hook to handle admin_menu processing from WP.
- admin_tabs — Action hook to handle admin_tabs processing from LearnDash.
- filter_option_page_capability — Filter function to override default settings save user capability 'manage_options'.
- get_admin_page_form — Class utility function to return the form wrapper. Supports the beginning an ending .
- get_admin_page_title — Class utility function to return the settings page title.
- get_current_settings_section_as_sub — Get the current Settings Section when using section-as-sub logic.
- get_global_settings_page_names — Returns global settings pages' names.
- get_page_instance — Function to get a specific setting page instance.
- get_page_instance_by — Function to get a specific setting page instance.
- get_settings_sections — Get the Sections associated with the current page.
- load_footer_scripts — Action hook to handle footer JS/CSS added footer
- load_settings_page — Action hook to handle current settings page load.
- screen_layout_column — Action hook to handle current settings page layout columns.
- should_show_settings_section — Function to check if metabox should be shown.
- show_settings_page — Function to handle showing of Settings page. This is the main function for all visible output. Extending classes can implement its own function.
- show_settings_sections_sub_menu — Show the Page sections sub menu