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