HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 06:15:07 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
expires: Wed, 11 Jan 1984 05:00:00 GMT
cache-control: no-cache, must-revalidate, max-age=0, no-store, private
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/hooks/customize_validate_this-id/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Sat, 19 Jul 2025 06:15:08 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
customize_validate_{$this->id} – Hook | Developer.WordPress.org
WordPress Developer Resources
customize_validate_{$this->id}
apply_filters( “customize_validate_{$this->id}”, WP_Error $validity, mixed $value, WP_Customize_Setting $setting )
Validates a Customize setting value.
Plugins should amend the $validity
object via its WP_Error::add()
method.
The dynamic portion of the hook name, $this->ID
, refers to the setting ID.
Version | Description |
---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.