Skip to content

Conversation

Slityak
Copy link

@Slityak Slityak commented Mar 26, 2019

No description provided.

@Slityak Slityak changed the title page/post delete + upload to media library [Feature] page/post delete + upload to media library Mar 26, 2019
Copy link

@AlessandroMinoccheri AlessandroMinoccheri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AlessandroMinoccheri
Copy link

Is it possibile to merge this PR? It could be very useful.
Thanks

@boboudreau
Copy link
Member

@AlessandroMinoccheri @Slityak apologies for abandoning this repo for a while, but the media upload portion of this PR, with tests, has been merged and added to the latest version of this library.

* @param int $id
* @return array
*/
public function delete($id = null)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this code! In my project we need to delete terms and that needs param force = true. Maybe add params?

@strtob
Copy link

strtob commented Feb 15, 2021

to delete media would be great!

http:////wp-json/wp/v2/media/?force=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants