title_save_pre filter-hookWP 1.0

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

Usage

add_filter( 'title_save_pre', 'wp_kama_title_save_pre_filter' );

/**
 * Function for `title_save_pre` filter-hook.
 * 
 * @param  $wp_slash 
 *
 * @return 
 */
function wp_kama_title_save_pre_filter( $wp_slash ){

	// filter...
	return $wp_slash;
}
$wp_slash
-

Where the hook is called

WP_Customize_Nav_Menu_Item_Setting::sanitize()
title_save_pre
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 719
$menu_item_value['title'] = wp_unslash( apply_filters( 'title_save_pre', wp_slash( $menu_item_value['title'] ) ) );

Where the hook is used in WordPress

wp-includes/default-filters.php 313
add_filter( 'title_save_pre', 'trim' );
wp-includes/kses.php 2277
add_filter( 'title_save_pre', 'wp_filter_kses' );
wp-includes/kses.php 2310
remove_filter( 'title_save_pre', 'wp_filter_kses' );