Browse: Home / Hooks /

learndash_load_resources_priority

apply_filters( 'learndash_load_resources_priority',  string $priority )

Filters LearnDash resources load priority.


Description #


Parameters #

$priority

(string) Resources load priority.


Source #

File: includes/ld-scripts.php


Examples #

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

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

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