Browse: Home / Classes / LearnDash_Settings_Page /


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 #


(bool) (Required) Default is true.


(string) (Required) The section key to be added/shown.


(string) (Required) Screen ID.

Source #

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

Changelog #

Version Description
3.6.0 Introduced.