Add woocommerce_emogrifier action (#25829)
* add woocommerce_emogrifier action * fix formating issue * fix formating, again :" ;
This commit is contained in:
parent
b53bde72d9
commit
e39db20eca
|
@ -563,6 +563,9 @@ class WC_Email extends WC_Settings_API {
|
|||
if ( $this->supports_emogrifier() && class_exists( $emogrifier_class ) ) {
|
||||
try {
|
||||
$emogrifier = new $emogrifier_class( $content, $css );
|
||||
|
||||
do_action( 'woocommerce_emogrifier', $emogrifier, $this );
|
||||
|
||||
$content = $emogrifier->emogrify();
|
||||
} catch ( Exception $e ) {
|
||||
$logger = wc_get_logger();
|
||||
|
|
Loading…
Reference in New Issue