woocommerce_demo_store filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_demo_store', 'filter_function_name_3582', 10, 2 ); function filter_function_name_3582( $html, $notice ){ // filter... return $html; }
- $html
- -
- $notice
- -
Where the hook is called
woocommerce_demo_store
woocommerce/includes/wc-template-functions.php 1056
echo apply_filters( 'woocommerce_demo_store', '<p class="woocommerce-store-notice demo_store" data-notice-id="' . esc_attr( $notice_id ) . '" style="display:none;">' . wp_kses_post( $notice ) . ' <a href="#" class="woocommerce-store-notice__dismiss-link">' . esc_html__( 'Dismiss', 'woocommerce' ) . '</a></p>', $notice );