user_{$field}

user_{$field}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('user_{$field}') is found 1 times:

  • /wp-includes/user.php line 1837
    			 * @param mixed  $value   The user object value to sanitize.
    			 * @param int    $user_id User ID.
    			 * @param string $context The context to filter within.
    			 */
    			$value = apply_filters( "user_{$field}", $value, $user_id, $context );
    		}
    	}
    
    	if ( 'user_url' === $field ) {
    		$value = esc_url( $value );
    	}