| CARVIEW |
Select Language
HTTP/2 301
date: Mon, 29 Dec 2025 15:47:56 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gquiz_correct_indicator/
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=zWkOZm18AzS4i4jzHjq1GdRbaWbUWp3xiZ%2FfDBdJUX3bHkT4sRVASrq%2B%2F8AKB6GsUyZxmEZ69WB4Xl2piimYlL7YbtivZTmli87RrNhz4gYTr4ef"}]}
cf-ray: 9b5a704bcbf9b080-BLR
HTTP/2 200
date: Mon, 29 Dec 2025 15:47:57 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=i%2BVpfywrw35A6%2Bn1ebkufm%2FYTrWCTQlOy9oinYsptPDy3dfM7vtS0dS6vwBQ5uv72RJMr1JksW1jQSx93EZj8rn9rkMnbsNs%2FuS3vbFMkfYqDbeS"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b5a70539947b080-BLR
gquiz_correct_indicator - Gravity Forms Documentation
gquiz_correct_indicator
Description
This filter allows the image used when a user gets an answer correct on a quiz to be changed. This allows you to link to your own icon.
Usage
add_filter( 'gquiz_correct_indicator', 'gquiz_correct_indicator' );
Parameters
- $correct_answer_indicator_url string
The link to the current image.
Examples
add_filter( 'gquiz_correct_indicator', 'gquiz_correct_indicator');
function gquiz_correct_indicator ( $correct_answer_indicator_url ){
$correct_answer_indicator_url = "https://mydomain.com/correct.png";
return $correct_answer_indicator_url;
}
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFQuiz::init() in gravityformsquiz/class-gf-quiz.php.