When your website means business.

Forms, TinyMCE | Type: PHPRestore Gravity Forms Embed Button on TinyMCE

Add to your theme functions file.

Display on every WYSIWYG field

/*****Restore Gravity Forms Embed Button on TinyMCE*********/
add_filter( 'gform_display_add_form_button', '__return_true' );

Display only for pages

(I can’t get this to work.)

add_filter( 'gform_display_add_form_button', function ( $display_add_form_button ) {
    global $current_screen;
    return $current_screen instanceof WP_Screen && $current_screen->base != 'post' ? true : $display_add_form_button;
} );

Reference Links

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Cookies Notice