Fires inside the <head> of every Groundhogg email template. Use this to inject custom <style> blocks that should appear in all outgoing emails.
do_action( 'groundhogg/templates/email/head' );
This hook has no arguments.
Example
add_action( 'groundhogg/templates/email/head', 'my_extension_add_email_styles' );
/**
* Inject custom CSS into the head of all Groundhogg emails.
*
* @return void
*/
function my_extension_add_email_styles() {
echo '';
}
Was this helpful?
Let us know if this document answered your question. Thatβs the only way we can improve.
