(shortcode)_shortcode_tag
Использование
add_filter( '(shortcode)_shortcode_tag', 'wp_kama_shortcode_tag_filter' ); /** * Function for `(shortcode)_shortcode_tag` filter-hook. * * @param $shortcode * * @return */ function wp_kama_shortcode_tag_filter( $shortcode ){ // filter... return $shortcode; }
- $shortcode
- -
Где вызывается хук
(shortcode)_shortcode_tag
woocommerce/includes/class-wc-shortcodes.php 43
add_shortcode( apply_filters( "{$shortcode}_shortcode_tag", $shortcode ), $function );