// Shortcode fix for Gutenberg
function greenshift_shortcode_renderer_filter($block_content, $block, $instance)
{
    $final = do_shortcode(wpautop($block_content));
    return $final;
}
add_filter('render_block_core/shortcode', 'greenshift_shortcode_renderer_filter', 10, 3);
«
  • BLABLABLA

    Harald Stumpf
    /
    29. Mai 2024
  • Testbeitrag

    Harald Stumpf
    /
    29. Mai 2024