Browse: Home / Hooks /

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 #

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

 <?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;
	}
);