[wp-trac] [WordPress Trac] #29316: Need more filters for WP_Customize_Settings
WordPress Trac
noreply at wordpress.org
Fri Aug 22 11:57:05 UTC 2014
#29316: Need more filters for WP_Customize_Settings
-----------------------------+-----------------------------
Reporter: dedepress | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 3.9.2
Severity: normal | Keywords:
Focuses: administration |
-----------------------------+-----------------------------
There should have more filters to handle settings.
for example:
add
{{{
apply_filters( 'customize_value', $this->defaults, $this);
}}}
or
{{{
apply_filters( 'customize_value_'.$this->type, $this->default, $this);
}}}
before
{{{
apply_filters( 'customize_value_' . $this->id_data[ 'base' ],
$this->default );
}}}
add
{{{
do_action( 'customize_preview_setting', $this );
}}}
before
{{{
do_action( 'customize_preview_' . $this->id, $this );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29316>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list