email heading errors due to missing parameter
-
Omitting the second parameter creates server errors when other plugins/themes use the woocommerce_email_header action hook correctly with 2 parameters.
As shown in the Woocommerce templates use:
<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>in:
woocommerce-product-stock-alert/templates/emails/stock_alert_admin_email.php
woocommerce-product-stock-alert/templates/emails/stock_alert_email.php
woocommerce-product-stock-alert/templates/emails/stock_alert_email_subscriber_confirmation.php
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘email heading errors due to missing parameter’ is closed to new replies.