WordPress at a glance
filter is not described

pre_user_last_name filter-hook . WP 2.0.3

Filters a user's last name before the user is created or updated.


add_filter( 'pre_user_last_name', 'filter_function_name_5573' );
function filter_function_name_5573( $last_name ){
	// filter...

	return $last_name;
The user's last name.

Where the hook is called

wp-includes/user.php 1674
$meta['last_name'] = apply_filters( 'pre_user_last_name', $last_name );

Where the hook is used (in WP core)

wp-includes/default-filters.php 17
add_filter( $filter, 'sanitize_text_field' );
wp-includes/default-filters.php 18
add_filter( $filter, 'wp_filter_kses' );
wp-includes/default-filters.php 19
add_filter( $filter, '_wp_specialchars', 30 );