do_action( 'learndash_section_before', string $settings_section_key, string $setting_screen_id )
Fires before settings sections.
Contents
Description #
Parameters #
- $settings_section_key
-
(string) Settings section key.
- $setting_screen_id
-
(string) Settings screen ID.
Source #
Examples #
<?php /** * Example usage for learndash_section_before action. */ add_action( 'learndash_section_before', function( $settings_section_key, $setting_screen_id ) { // May add any custom logic using $settings_section_key, $setting_screen_id echo '<div>Custom content or markup</div>'; }, 10, 2 );