Tribe__Events__Privacy::default_privacy_policy_content( bool $descr = false )

Return the default suggested privacy policy content.


Parameters

$descr

(bool) (Optional) Whether to include the descriptions under the section headings.

Default value: false


Top ↑

Return

(string) The default policy content.


Top ↑

Source

File: src/Tribe/Privacy.php

	public function default_privacy_policy_content( $descr = false ) {

		ob_start();
		include_once Tribe__Events__Main::instance()->pluginPath . 'src/admin-views/privacy.php';
		$content = ob_get_clean();

		/**
		 * Filters the default content suggested for inclusion in a privacy policy.
		 *
		 * @since 4.6.20
		 *
		 * @param $content string The default policy content.
		 */
		return apply_filters( 'tribe_events_default_privacy_policy_content', $content );

	}

Top ↑

Changelog

Changelog
Version Description
4.6.20 Introduced.