Teste syntax
/* style do email enviado*/ function pwp_adc_css_emails_woo() { ?> <style type="text/css"> .body {background: #000;} .email-head {padding: 20px 10% 20px 10%;} a, .ii a[href] {color: #FF0000;} </style> <?php } add_action('woocommerce_email_header', 'pwp_adc_css_emails_woo')
[pastacode lang="php" manual="%2F*%20style%20do%20email%20enviado*%2F%0Afunction%20pwp_adc_css_emails_woo()%20%7B%0A%09%3F%3E%0A%09%09%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09%09%09.body%20%7Bbackground%3A%20%23000%3B%7D%0A%09%09%09.email-head%20%7Bpadding%3A%2020px%2010%25%2020px%2010%25%3B%7D%0A%09%09%09a%2C%20.ii%20a%5Bhref%5D%20%7Bcolor%3A%20%23FF0000%3B%7D%0A%09%09%3C%2Fstyle%3E%0A%09%3C%3Fphp%20%0A%7D%0Aadd_action('woocommerce_email_header'%2C%20'pwp_adc_css_emails_woo')" message="functions.php" highlight="" provider="manual"/]
[pastacode lang="php" manual="%2F*%20style%20do%20email%20enviado*%2F%0Afunction%20pwp_adc_css_emails_woo()%20%7B%0A%09%3F%3E%0A%09%09%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09%09%09.body%20%7Bbackground%3A%20%23000%3B%7D%0A%09%09%09.email-head%20%7Bpadding%3A%2020px%2010%25%2020px%2010%25%3B%7D%0A%09%09%09a%2C%20.ii%20a%5Bhref%5D%20%7Bcolor%3A%20%23FF0000%3B%7D%0A%09%09%3C%2Fstyle%3E%0A%09%3C%3Fphp%20%0A%7D%0Aadd_action('woocommerce_email_header'%2C%20'pwp_adc_css_emails_woo')" message="functions.php" highlight="" provider="manual"/]
[pastacode lang=”php” manual=”%2F*%20style%20do%20email%20enviado*%2F%0Afunction%20pwp_adc_css_emails_woo()%20%7B%0A%09%3F%3E%0A%09%09%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09%09%09.body%20%7Bbackground%3A%20%23000%3B%7D%0A%09%09%09.email-head%20%7Bpadding%3A%2020px%2010%25%2020px%2010%25%3B%7D%0A%09%09%09a%2C%20.ii%20a%5Bhref%5D%20%7Bcolor%3A%20%23FF0000%3B%7D%0A%09%09%3C%2Fstyle%3E%0A%09%3C%3Fphp%20%0A%7D%0Aadd_action(‘woocommerce_email_header’%2C%20’pwp_adc_css_emails_woo’)” message=”functions.php” highlight=”” provider=”manual”/]