edit_user_{$field}

edit_user_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

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

  • /wp-includes/user.php line 1837
    			 *
    			 * @param mixed $value   Value of the prefixed user field.
    			 * @param int   $user_id User ID.
    			 */
    			$value = apply_filters( "edit_user_{$field}", $value, $user_id );
    		}
    
    		if ( 'description' === $field ) {
    			$value = esc_html( $value ); // textarea_escaped?
    		} else {
    			$value = esc_attr( $value );