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() );
}
}
}