woocommerce_order_cancelled_notice filter-hookWC 1.0

Usage

add_filter( 'woocommerce_order_cancelled_notice', 'wp_kama_woocommerce_order_cancelled_notice_filter' );

/**
 * Function for `woocommerce_order_cancelled_notice` filter-hook.
 * 
 * @param  $__ 
 *
 * @return 
 */
function wp_kama_woocommerce_order_cancelled_notice_filter( $__ ){

	// filter...
	return $__;
}
$__
-

Where the hook is called

WC_Form_Handler::cancel_order()
woocommerce_order_cancelled_notice
woocommerce/includes/class-wc-form-handler.php 758
wc_add_notice( apply_filters( 'woocommerce_order_cancelled_notice', __( 'Your order was cancelled.', 'woocommerce' ) ), apply_filters( 'woocommerce_order_cancelled_notice_type', 'notice' ) );

Where the hook is used in WooCommerce

Usage not found.