xmlrpc_call, wp.editProfile, $args, $this

xmlrpc_call, wp.editProfile, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('xmlrpc_call, wp.editProfile, $args, $this') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 2917
    			return $this->error;
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.editProfile', $args, $this );
    
    		if ( ! current_user_can( 'edit_user', $user->ID ) ) {
    			return new IXR_Error( 401, __( 'Sorry, you are not allowed to edit your profile.' ) );
    		}
    
    		// Holds data of the user.