um_core_enqueue_priority

Hook type

Filter

Description

Change Enqueue scripts priority

Parameters

$priority

(int) Priority

Usage

add_filter( 'um_core_enqueue_priority', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_core_enqueue_priority', 'my_core_enqueue_priority', 10, 1 );
function my_core_enqueue_priority( $priority ) {
    // your code here
return $priority;
}
?>

Change Log

Since: 2.0

Source

um_core_enqueue_priority is located in includes/core/class-enqueue.php::line 47