learndash_metabox_description_before

do_action( 'learndash_metabox_description_before',  string $settings_key )

Fires before the metabox description.


Description #


Parameters #

$settings_key

(string) Settings key used as option name while saving settings.


Source #

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


Examples #

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

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