WP_REST_Controller8b7c:f320:99b9:690f:4595:cd17:293a:c069update_item( WP_REST_Request $request ): WP_REST_Response|WP_Error  Updates one item from the collection.   Parameters   $request WP_REST_Request Required    Full details about the request.      Return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.   Source  File: wp-includes/rest-api/endpoints/class-wp-rest-controller.php. View all references  public function update_item( $request ) {
	return new WP_Error(
		'invalid-method',
		/* translators: %s: Method name. */
		sprintf( __( "Method '%s' not implemented. Must be overridden in subclass." ), __METHOD__ ),
		array( 'status' => 405 )
	);
}
   Related  Uses    Uses Description      __() wp-includes/l10n.php   Retrieves the translation of $text.     WP_Error8b7c:f320:99b9:690f:4595:cd17:293a:c069__construct() wp-includes/class-wp-error.php   Initializes the error.   
    Changelog    Version Description     4.7.0 Introduced.    

    
{'path': 'public/docs/wordpress/classes/wp_rest_controller/update_item.html', 'source': 'DevDocs.IO'}