| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 02:16:32 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_shortcode_builder_forms/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: MISS
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=OCtD76Eb5CACh8xOxjdqAjA6q%2F%2FcXaAjdgchY7ADSia6csNSmwUaVJTSHriEkpSIY3PneOOvCrGXtDOJy%2FMiDlu3j13jLkhn%2BqQ9NSidZxR5EoDk"}]}
cf-ray: 9b455102991ba403-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 02:16:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=uKWm%2Fm4HtTESnyMtddFoWKlQW5yMhP%2BoeMda6l%2FAGJ0hYdrckbPjgfmVZDZmsnggOh08bxhAwOTPnR4vmiUJ8PfA6QIakZu8kG8zJ17eHs%2FX%2BhiK"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b455105cce9a403-BLR
gform_shortcode_builder_forms - Gravity Forms Documentation
gform_shortcode_builder_forms
Description
The gform_shortcode_builder_forms filter allows the list of available forms displayed in the shortcode builder to be overridden.
Usage
The filter would be used like so:
add_filter( 'gform_shortcode_builder_forms', 'your_function_name' );
Parameters
$forms array
A collection of active forms on site using the form id as the key to the form title.
Examples
1. Remove
This example removes form id 1 from the list of forms which can be embedded using the shortcode builder.
add_filter( 'gform_shortcode_builder_forms', function( $forms ) {
unset( $forms[1] );
return $forms;
});
Placement
This code should be placed in the functions.php file of your active theme or a custom functions plugin.
Since
This filter was added in Gravity Forms v2.4.22.5.
Source Code
This filter is located in GFForms::get_shortcodes() in gravityforms.php.