learndash_support_wp_defines

apply_filters( 'learndash_support_wp_defines',  array $wp_defines )

Filters list of WordPress defined constant variables for admin support section.


Description #


Parameters #

$wp_defines

(array) An array of WordPress defined constants.


Source #

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


Examples #

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

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