Browse: Home / Hooks /

learndash_support_ld_defines

apply_filters( 'learndash_support_ld_defines',  array $constants )

Filters list of LearnDash constant defines.


Description #


Parameters #

$constants

(array) An array of constants.


Source #

File: includes/settings/settings-sections/class-ld-settings-section-support-learndash.php


Examples #

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

 <?php
/**
 * Example usage for learndash_support_ld_defines filter.
 */
add_filter(
	'learndash_support_ld_defines',
	function( $constants ) {
		// May add any custom logic using $constants.

		// Always return $constants.
		return $constants;
	}
);