apply_filters( “customize_value_{$this->id_data[‘base’]}”, mixed $default )

In this article

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

Description

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

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

Parameters

$defaultmixed
The setting default value. Default empty.

Source

do_action( "customize_preview_{$this->id}", $this );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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