WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

customize_sanitize_(id) хук-фильтр . WP 1.0

This filter is documented in wp-includes/class-wp-customize-setting.php

Использование

add_filter( 'customize_sanitize_(id)', 'filter_function_name_5320', 10, 2 );
function filter_function_name_5320( $value, $that ){
	// filter...

	return $value;
}
$value
-
$that
-

Где вызывается хук

WP_Customize_Nav_Menu_Setting::sanitize()
customize_sanitize_(id)
WP_Customize_Nav_Menu_Item_Setting::sanitize()
customize_sanitize_(id)
WP_Customize_Setting::sanitize()
customize_sanitize_(id)
wp-includes/customize/class-wp-customize-nav-menu-setting.php 444
return apply_filters( "customize_sanitize_{$this->id}", $value, $this );
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 732
return apply_filters( "customize_sanitize_{$this->id}", $menu_item_value, $this );
wp-includes/class-wp-customize-setting.php 574
return apply_filters( "customize_sanitize_{$this->id}", $value, $this );

Где используется хук в ядре WordPress

wp-includes/class-wp-customize-nav-menus.php 728
remove_filter( "customize_sanitize_{$setting_id}", 'absint' );
wp-includes/class-wp-customize-nav-menus.php 729
add_filter( "customize_sanitize_{$setting_id}", array( $this, 'intval_base10' ) );
wp-includes/class-wp-customize-setting.php 202
add_filter( "customize_sanitize_{$this->id}", $this->sanitize_callback, 10, 2 );
wp-includes/class-wp-customize-setting.php 205
add_filter( "customize_sanitize_js_{$this->id}", $this->sanitize_js_callback, 10, 2 );