um_admin_enqueue_localize_data

Hook type

Filter

Description

Extend localize data at wp-admin side

Parameters

$localize_data

(array) Localize Data

Usage

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

Examples

<?php
add_filter( 'um_admin_enqueue_localize_data', 'my_admin_enqueue_localize_data', 10, 1 );
function my_admin_enqueue_localize_data( $localize_data ) {
    // your code here
return $localize_data;
}
?>

Change Log

Since: 2.0

Source

um_admin_enqueue_localize_data is located in includes/admin/core/class-admin-enqueue.php::line 371