Browse: Home / Hooks /

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 #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?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

	}
);