render_block filter makes email empty
-
If I use the
render_block
filter to manipulate the gutenberg block output and just write a single line before returning the block’s content my confirmation email will be empty.
It has its defined recipient, From and To Parameters, but the content is completely empty.Even if I use something like:
if ( has_shortcode( $block_content, 'advanced_form' ) ) { return $block_content; }
if I just write
return $block_content;
without any previous line it’s working…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘render_block filter makes email empty’ is closed to new replies.