apply_filters( "customize_value_{$id_base}", mixed $default, WP_Customize_Setting $setting )

Filters a Customize setting value not handled as a theme_mod or option.

Description Description

The dynamic portion of the hook name, $id_base, refers to the base slug of the setting name, initialized from $this->id_data['base'].

For settings handled as theme_mods or options, see those corresponding functions for available hooks.

Top ↑

Parameters Parameters


(mixed) The setting default value. Default empty.


(WP_Customize_Setting) The setting instance.

Top ↑

Source Source

File: wp-includes/class-wp-customize-setting.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.6.0 Added the $this setting instance as the second parameter.
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.