WC_Abstract_Privacy::add_privacy_message()

Adds the privacy message on WC privacy page.


Description Description


Source Source

File: includes/abstracts/abstract-wc-privacy.php

	public function add_privacy_message() {
		if ( function_exists( 'wp_add_privacy_policy_content' ) ) {
			$content = $this->get_privacy_message();

			if ( $content ) {
				wp_add_privacy_policy_content( $this->name, $this->get_privacy_message() );
			}
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

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