Filter: um_core_enqueue_priority

apply_filters( 'um_core_enqueue_priority', $priority ) → {int}

Filters Ultimate Member frontend scripts enqueue priority.

Parameters:
Name Type Description
$priority int

Ultimate Member frontend scripts enqueue priority.

Since:
  • 1.3.x
Source:
Returns:

Ultimate Member frontend scripts enqueue priority.

Type
int
Example

Change Ultimate Member frontend enqueue scripts priority.

function custom_um_core_enqueue_priority( $priority ) {
    $priority = 101;
    return $priority;
}
add_filter( 'um_core_enqueue_priority', 'custom_um_core_enqueue_priority' );