Browse: Home / Classes / LearnDash_Settings_Page /

LearnDash_Settings_Page::should_show_settings_section

LearnDash_Settings_Page::should_show_settings_section( bool $show,  string $section_key,  string $settings_screen_id )

Function to check if metabox should be shown.


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 #

File: includes/settings/class-ld-settings-pages.php


Changelog #

Changelog
Version Description
3.6.0 Introduced.