Documentation

IOverrideFolder

Table of Contents

Methods

createItem()  : WP_REST_Response|WP_Error
See API docs.

Methods

createItem()

See API docs.

public createItem(WP_REST_Request $request) : WP_REST_Response|WP_Error
APIYes
Parameters
$request : WP_REST_Request
Tags
apiParam

{string} name The new name for the folder

apiParam

{int} parent The parent

apiParam

{string} type The folder type

apiName

DeleteFolder

apiGroup

Folder

apiVersion

1.0.0

apiPermission

upload_files

apiSince

4.12.1 This function ignores the parent parameter in Lite version as creating subfolders is no longer supported

Return values
WP_REST_Response|WP_Error

        
On this page

Search results