| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 22:36:11 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_editor_sidebar_panel_content/
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: HIT
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=nU%2FH8ow5HCQpsq1VvC%2B4EQxPHpwB1dBQgO%2F2ypzxkjpG5oQmXKH4CD9ZkTI3gPcqyPioawGmiOLPq6gUtTmjObbsMEEdCQmj74pVHYtHQSr%2FecH6"}]}
cf-ray: 9b4c4b9498155ace-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 22:36:11 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=6RRMAbOx1RziaSbA432YQGY5uTJqGqJ13ZsCl43ThYZJkIgEjoYdMgaV40sIad9Z224%2BseOnxuNLX1plwUxsacTxe945PkXs5ZBCkpdMpO%2Fyxhlg"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4c4b998a645ace-BLR
gform_editor_sidebar_panel_content - Gravity Forms Documentation
gform_editor_sidebar_panel_content
Description
The gform_editor_sidebar_panel_content action hook is used to echo the content for a custom panel in the form editor sidebar. Use the gform_editor_sidebar_panels filter to register the panel.
Usage
The base action which would run for all forms and all custom tabs would be used like so:
add_action( 'gform_editor_sidebar_panel_content', 'your_function_name', 10, 2 );
You can target a specific tab by adding the tab id after the hook name.
add_action( 'gform_editor_sidebar_panel_content_thepanelid', 'your_function_name', 10, 2 );
You can target a specific tab and form by adding the id’s after the hook name.
add_action( 'gform_editor_sidebar_panel_content_thepanelid_6', 'your_function_name', 10, 2 );
Parameters
- $panel array
The properties of the panel being displayed.
-
$form Form Object
The form currently being edited.
Examples
1. Add a new panel
add_action( 'gform_editor_sidebar_panel_content_my_custom_panel_1', function ( $panel, $form ) {
echo 'the content of my custom panel.';
}, 10, 2 );
Placement
This code should be placed in the functions.php file of your active theme or a custom functions plugin.
Since
This action hook was added in Gravity Forms v2.5.
Source Code
This action hook is located in GFFormDetail::forms_page() in form_detail.php