learndash_add_meta_boxes

do_action( 'learndash_add_meta_boxes',  string $setting_screen_id )

Fires on adding setting metaboxes.


Description #


Parameters #

$setting_screen_id

(string) Settings screen ID.


Source #

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


Examples #

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

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