LearnDash_Settings_Page::should_show_settings_section( bool $show, string $section_key, string $settings_screen_id )
Function to check if metabox should be shown.
Contents
Description #
Called from filter learndash_show_metabox
to check if metabox should be shown on page. This is called just before the add_meta_box()
function.
Parameters #
- $show
-
(bool) (Required) Default is true.
- $section_key
-
(string) (Required) The section key to be added/shown.
- $settings_screen_id
-
(string) (Required) Screen ID.
Source #
Changelog #
Version | Description |
---|---|
3.6.0 | Introduced. |