apply_filters( 'um_account_scripts_dependencies', $deps ) → {array}
Filters account script dependencies.
Parameters:
Name | Type | Description |
---|---|---|
$deps |
array | JS script dependencies. |
- Since:
- 2.1.8
- Source:
Returns:
JS script dependencies.
- Type
- array
Example
function um_custom_account_scripts_dependencies( $deps ) {
$deps[] = 'wp-util';
return $deps;
}
add_filter( 'um_account_scripts_dependencies', 'um_custom_account_scripts_dependencies' );