(tag)
Calls the callback functions that have been added to a filter hook.
Usage
add_filter( '(tag)', 'wp_kama_tag_filter', 10, 2 );
/**
* Function for `(tag)` filter-hook.
*
* @param string $tag The name of the filter hook.
* @param mixed $value The value to filter.
*
* @return string
*/
function wp_kama_tag_filter( $tag, $value ){
// filter...
return $tag;
}
- $tag(string)
- The name of the filter hook.
- $value(mixed)
- The value to filter.
Where the hook is called
(tag)
(tag)
woocommerce/src/Proxies/ActionsProxy.php 36
return apply_filters( $tag, $value, ...$parameters );
woocommerce/packages/blueprint/src/UseWPFunctions.php 65
do_action( $tag, ...$args );
woocommerce/includes/wc-deprecated-functions.php 37
do_action_ref_array( $tag, $args );