enable_edit_any_user_configuration

enable_edit_any_user_configuration

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('enable_edit_any_user_configuration') is found 1 times:

  • /wp-admin/user-edit.php line 101
     */
    if ( is_multisite()
    	&& ! current_user_can( 'manage_network_users' )
    	&& $user_id !== $current_user->ID
    	&& ! apply_filters( 'enable_edit_any_user_configuration', true )
    ) {
    	wp_die( __( 'Sorry, you are not allowed to edit this user.' ) );
    }
    
    // Execute confirmed email change. See send_confirmation_on_profile_email().
    if ( IS_PROFILE_PAGE && isset( $_GET['newuseremail'] ) && $current_user->ID ) {