woocommerce_add_

woocommerce_add_

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_add_') is found 2 times:

  • /includes/wc-notice-functions.php line 89
    	if ( 'success' === $notice_type ) {
    		$message = apply_filters( 'woocommerce_add_message', $message );
    	}
    
    	$message = apply_filters( 'woocommerce_add_' . $notice_type, $message );
    
    	if ( ! empty( $message ) ) {
    		$notices[ $notice_type ][] = array(
    			'notice' => $message,
    			'data'   => $data,
    		);
    
  • /includes/wc-notice-functions.php line 199
    	if ( 'success' === $notice_type ) {
    		$message = apply_filters( 'woocommerce_add_message', $message );
    	}
    
    	$message = apply_filters( 'woocommerce_add_' . $notice_type, $message );
    
    	// Buffer output.
    	ob_start();
    
    	wc_get_template(
    		"notices/{$notice_type}.php",