learndash_settings_page_init

do_action( 'learndash_settings_page_init',  string $setting_page_id )

Fires on LearnDash settings page init.


Description #


Parameters #

$setting_page_id

(string) Settings page ID.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash_settings_page_init action.
 */
add_action(
	'learndash_settings_page_init',
	function( $setting_page_id ) {
		// May add any custom logic using $setting_page_id

		echo '<div>Custom content or markup</div>';
	}
);