New answers tagged

-1

you can do this with this filter : function do_shortcode_in_gut($block_content, $block) { return do_shortcode($block_content); } add_filter( 'render_block', 'do_shortcode_in_gut', 99, 2 ); This filtering your block render and do shortcode. You can see in this screenshot I use a date shortcode with attributes. And the result :


Top 50 recent answers are included