content_save_pre хук-фильтр . WP 1.0
This filter is documented in wp-includes/post.php
Использование
add_filter( 'content_save_pre', 'filter_function_name_9835' ); function filter_function_name_9835( $wp_slash ){ // filter... return $wp_slash; }
- $wp_slash
- -
Где вызывается хук
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 722
$menu_item_value['description'] = wp_unslash( apply_filters( 'content_save_pre', wp_slash( $menu_item_value['description'] ) ) );
Где используется хук в ядре WordPress
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 126
add_filter( $filter, 'convert_invalid_entities' );
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 127
add_filter( $filter, 'balanceTags', 50 );
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 2093
add_filter( 'content_save_pre', 'wp_filter_post_kses' );
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 2119
remove_filter( 'content_save_pre', 'wp_filter_post_kses' );