woocommerce_demo_store filter-hookWC 1.0

Usage

add_filter( 'woocommerce_demo_store', 'wp_kama_woocommerce_demo_store_filter', 10, 2 );

/**
 * Function for `woocommerce_demo_store` filter-hook.
 * 
 * @param  $html   
 * @param  $notice 
 *
 * @return 
 */
function wp_kama_woocommerce_demo_store_filter( $html, $notice ){

	// filter...
	return $html;
}
$html
-
$notice
-

Where the hook is called

woocommerce_demo_store()
woocommerce_demo_store
woocommerce/includes/wc-template-functions.php 1074
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 );

Where the hook is used in WooCommerce

Usage not found.