woocommerce_get_path_define_tokens
Usage
add_filter( 'woocommerce_get_path_define_tokens', 'wp_kama_woocommerce_get_path_define_tokens_filter' ); /** * Function for `woocommerce_get_path_define_tokens` filter-hook. * * @param $path_tokens * * @return */ function wp_kama_woocommerce_get_path_define_tokens_filter( $path_tokens ){ // filter... return $path_tokens; }
- $path_tokens
- -
Where the hook is called
woocommerce_get_path_define_tokens
woocommerce/includes/wc-core-functions.php 231
return apply_filters( 'woocommerce_get_path_define_tokens', $path_tokens );