apply_filters( 'um_dequeue_select2_scripts', $dequeue_select2 ) → {bool}
Filters marker for dequeue select2.JS library.
Parameters:
Name | Type | Description |
---|---|---|
$dequeue_select2 |
bool | Dequeue select2 assets marker. Set to |
- Since:
- 2.0.0
- Source:
Returns:
Dequeue select2 assets. By default false
.
- Type
- bool
Example
function custom_um_dequeue_select2_scripts( $dequeue_select2 ) {
$dequeue_select2 = true;
return $dequeue_select2;
}
add_filter( 'um_dequeue_select2_scripts', 'custom_um_dequeue_select2_scripts' );