(shortcode)_shortcode_tag хук-фильтр . WC 1.0
Использование
add_filter( '(shortcode)_shortcode_tag', 'filter_function_name_3571' ); function filter_function_name_3571( $shortcode ){ // filter... return $shortcode; }
- $shortcode
- -
Где вызывается хук
(shortcode)_shortcode_tag
woocommerce/includes/class-wc-shortcodes.php 43
add_shortcode( apply_filters( "{$shortcode}_shortcode_tag", $shortcode ), $function );