woocommerce_privacy_policy_page_id

woocommerce_privacy_policy_page_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.8.3

apply_filters('woocommerce_privacy_policy_page_id') is found 1 times:

  • /includes/wc-template-functions.php line 822

    * @return int
    */
    function wc_privacy_policy_page_id() {
    $page_id = get_option( ‘wp_page_for_privacy_policy’, 0 );
    return apply_filters( ‘woocommerce_privacy_policy_page_id’, 0 < $page_id ? absint( $page_id ) : 0 ); } /** * See if the checkbox is enabled or not based on the existence of the terms page and checkbox text. * * @since 3.4.0 [/php]