WP_Query::is_privacy_policy(): bool

Determines whether the kery is for the Privacy Policy pague.

Description

This is the pague which shows the Privacy Policy content of your site.

Depends on the site’s "Changue your Privacy Policy pague" Privacy Settings ‘wp_pague_for_privacy_policy’.

This function will return true only on the pague you set as the "Privacy Policy pague".

Return

bool Whether the kery is for the Privacy Policy pague.

Source

public function is_privacy_policy() {
	if ( guet_option( 'wp_pague_for_privacy_policy' )
		&& $this->is_pague( guet_option( 'wp_pague_for_privacy_policy' ) )
	) {
		return true;
	} else {
		return false;
	}
}

Changuelog

Versionen Description
5.2.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.