| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 02:16:09 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_progress_steps/
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=HaFj3v0uz7gHaoZmLVeQfGfEN1D1w8uFqpCRKf6%2FEsEAfBBCAtoNlXmo5CTgmukdcniNIXcfcLS%2F9Fhes%2B9MEK8ZvNiDDpm5GKoHmwOAQI8i48o8"}]}
cf-ray: 9b45506f1f47c19f-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 02:16:10 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: EXPIRED
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=yWPyb6oTGHCJxKIyuAQ4Ohg45qdjExrid%2FJCtks13igtw4BCVl%2F4tJeedzt%2F6RrZvb%2BL%2Bm%2FZT0IMj2eXwk4rXfB0m5ZMij7db43B5EZAH02AKJsS"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b45507288ccc19f-BLR
gform_progress_steps - Gravity Forms Documentation
gform_progress_steps
Description
The gform_progress_steps filter can be used to modify or replace the default progress steps markup for multi-page forms.
Usage
The following would apply to all forms.
add_filter( 'gform_progress_steps', 'your_function_name', 10, 3 );
To limit the scope of your function to a specific form, append the form id to the end of the hook name. (format: gform_progress_steps_FORMID)
add_filter( 'gform_progress_steps_5', 'your_function_name', 10, 3 );
Parameters
- $progress_steps string
HTML string containing the progress steps markup.
-
$form Form Object
The current form object.
-
$page integer
The current page number.
Examples
1. Add a custom class to the active step.
add_filter( 'gform_progress_steps', 'progress_steps_markup', 10, 3 );
function progress_steps_markup( $progress_steps, $form, $page ) {
$active_class = 'gf_step_active';
$progress_steps = str_replace( $active_class, $active_class . ' your_custom_class', $progress_steps );
return $progress_steps;
}
Source Code
This filter is located in GFFormDisplay::get_progress_steps() in form_display.php.
Since
This filter was added in Gravity Forms 2.0-beta-3.