wpseek.com
A WordPress-centric search engine for devs and theme authors



privacy_policy_url › WordPress Filter Hooks

Since4.9.6
Deprecatedn/a
apply_filters( 'privacy_policy_url', $url, $policy_page_id )
Parameters: (2)
  • (string) $url The URL to the privacy policy page. Empty string if it doesn't exist.
    Required: Yes
  • (int) $policy_page_id The ID of privacy policy page.
    Required: Yes
Defined at:
Codex:

Filters the URL of the privacy policy page.





Source

return apply_filters( 'privacy_policy_url', $url, $policy_page_id );