Disable messages about the mobile apps from emails in WooCommerce

Disable messages about the mobile apps from emails in WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

function mtp_disable_mobile_messaging( $mailer ) {
    remove_action( 'woocommerce_email_footer', array( $mailer->emails['WC_Email_New_Order'], 'mobile_messaging' ), 9 );
}
add_action( 'woocommerce_email', 'mtp_disable_mobile_messaging' );

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.