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 #

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