woocommerce_cheque_email_instructions_order_status

woocommerce_cheque_email_instructions_order_status

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cheque_email_instructions_order_status') is found 1 times:

  • /includes/gateways/cheque/class-wc-gateway-cheque.php line 119
    		 * @since 7.4
    		 * @param string $terms The order status.
    		 * @param object $order The order object.
    		 */
    		if ( $this->instructions && ! $sent_to_admin && 'cheque' === $order->get_payment_method() && $order->has_status( apply_filters( 'woocommerce_cheque_email_instructions_order_status', 'on-hold', $order ) ) ) {
    			echo wp_kses_post( wpautop( wptexturize( $this->instructions ) ) . PHP_EOL );
    		}
    	}
    
    	/**
    	 * Process the payment and return the result.