(name)
Usage
add_filter( '(name)', 'wp_kama_name_filter' ); /** * Function for `(name)` filter-hook. * * @param $data * * @return */ function wp_kama_name_filter( $data ){ // filter... return $data; }
- $data
- -
Where the hook is called
(name)
woocommerce/includes/class-wc-frontend-scripts.php 481
wp_localize_script( $handle, $name, apply_filters( $name, $data ) );