Now I have to ask again. If I want to have GB also for JetFormBuilder, then I would have to change the following parameters:
if ( ! $block_element || 'your_post_type' !== $block_element->post_type ) {
return $content;
to
if ( ! $block_element || 'jet-form-builder' !== $block_element->post_type ) {
return $content;
What would I need to do to make all forms adopt the GB Styles? As independent of the ids…
$post_id = 123; // A post ID to check the content of. Can be dynamically set.