woocommerce_new_order_email_allows_resend

woocommerce_new_order_email_allows_resend

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_new_order_email_allows_resend') is found 1 times:

  • /includes/emails/class-wc-email-new-order.php line 107
    			 *
    			 * @since 5.0.0
    			 * @param bool $allows Defaults to false.
    			 */
    			if ( $email_already_sent && ! apply_filters( 'woocommerce_new_order_email_allows_resend', false ) ) {
    				return;
    			}
    
    			if ( $this->is_enabled() && $this->get_recipient() ) {
    				$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
    
    

See this hook used in plugins: