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

option_(option) хук-фильтр . WP 1.0

This filter is documented in wp-includes/option.php

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

add_filter( 'option_(option)', 'filter_function_name_243', 10, 2 );
function filter_function_name_243( $value, $option_name ){
	// filter...

	return $value;
}
$value
-
$option_name
-

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

WP_Customize_Widgets::capture_filter_pre_get_option()
option_(option)
get_option()
option_(option)
wp-includes/class-wp-customize-widgets.php 2005
$value = apply_filters( 'option_' . $option_name, $value, $option_name );
wp-includes/option.php 179
return apply_filters( "option_{$option}", maybe_unserialize( $value ), $option );

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

wp-includes/class-wp-customize-widgets.php 382
add_filter( "option_{$id_base}", $multidimensional_filter );
wp-includes/class-wp-customize-widgets.php 280
add_filter( 'option_sidebars_widgets', array( $this, 'filter_option_sidebars_widgets_for_theme_switch' ), 1 );
wp-includes/class-wp-customize-widgets.php 224
add_filter( 'option_nav_menu_options', array( $this, 'filter_nav_menu_options' ) );
wp-includes/class-wp-customize-widgets.php 240
add_filter( 'option_ping_sites', 'privacy_ping_filter' );
wp-includes/class-wp-customize-widgets.php 241
add_filter( 'option_blog_charset', '_wp_specialchars' ); // IMPORTANT: This must not be wp_specialchars() or esc_html() or it'll cause an infinite loop.
wp-includes/class-wp-customize-widgets.php 242
add_filter( 'option_blog_charset', '_canonical_charset' );
wp-includes/class-wp-customize-widgets.php 243
add_filter( 'option_home', '_config_wp_home' );
wp-includes/class-wp-customize-widgets.php 244
add_filter( 'option_siteurl', '_config_wp_siteurl' );
wp-includes/class-wp-customize-widgets.php 254
add_filter( 'option_tag_base', '_wp_filter_taxonomy_base' );
wp-includes/class-wp-customize-widgets.php 255
add_filter( 'option_category_base', '_wp_filter_taxonomy_base' );
wp-includes/class-wp-customize-widgets.php 116
remove_filter( 'option_siteurl', '_config_wp_siteurl' );
wp-includes/class-wp-customize-widgets.php 117
remove_filter( 'option_home', '_config_wp_home' );
wp-includes/class-wp-customize-widgets.php 20
add_filter( 'option_users_can_register', 'users_can_register_signup_filter' );