the_privacy_policy_link filter-hook . WP 4.9.6
Filters the privacy policy link.
Usage
add_filter( 'the_privacy_policy_link', 'filter_function_name_6283', 10, 2 ); function filter_function_name_6283( $link, $privacy_policy_url ){ // filter... return $link; }
- $link(string)
- The privacy policy link. Empty string if it doesn't exist.
- $privacy_policy_url(string)
- The URL of the privacy policy. Empty string if it doesn't exist.
Changelog
Since 4.9.6 | Introduced. |
Where the hook is called
the_privacy_policy_link
wp-includes/link-template.php 4492
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );