Tribe__Events__Privacy::privacy_policy_content()
Add the suggested privacy policy text to the policy postbox.
Source
File: src/Tribe/Privacy.php
public function privacy_policy_content() {
if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
return false;
}
$content = $this->default_privacy_policy_content( true );
wp_add_privacy_policy_content( __( 'The Events Calendar', 'the-events-calendar' ), $content );
}
Changelog
| Version | Description |
|---|---|
| 4.6.20 | Introduced. |