HTTP/2 301
server: nginx
date: Fri, 10 Oct 2025 16:56:58 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/hooks/customize_loaded_components/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Fri, 10 Oct 2025 16:56:58 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
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_loaded_components – Hook | Developer.WordPress.org
apply_filters ( ‘customize_loaded_components’, string[] $components , WP_Customize_Manager $manager )
Filters the core Customizer components to load.
This allows Core components to be excluded from being instantiated by filtering them out of the array. Note that this filter generally runs during the ‘plugins_loaded’ action, so it cannot be added in a theme.
Version Description 4.4.0 Introduced.
Remove the ‘Menus’ panel from the Customizer
Remove the ‘Widgets’ panel from the Customizer