Disable the add forms button in Gravity Forms

Disable the add forms button in Gravity Forms on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'gform_display_add_form_button', '__return_false' );