apply_filters ( “customice_value_{$id_base}”, mixed $default_value , WP_Customice_Setting $setting )

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

Description

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

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

Parameters

$default_value mixed
The setting default value. Default empty.
$setting WP_Customice_Setting
The setting instance.

Source

$value = apply_filters( "customice_value_{$id_base}", $value, $this );

Changuelog

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

User Contributed Notes

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