Skip to content

Bijal1704/safe-media-delete

Repository files navigation

safe-media-delete

Safe Media Delete WordPress Plugin

How to install plugin

  • Download zip and install like other WordPress plugin

REST API Endpoint

id is the attachment ID.

How to run test cases

  • Got to plugin root directory and run the following command

phpunit

To run the test cases, you need to install PHPUnit, WP-CLI

Install PHPUnit The readme file in the Github repository for PHPUnit has the instructions on how to do this. https://github.com/sebastianbergmann/phpunit#installation

Simply follow the installation instructions on the Github page and then proceed to the next step below.

If you run into any issues installing PHPUnit, leave a comment below and I will do my best to help you.

Install WP-CLI WP-CLI is also exceptionally simple to install, and you can find the install instructions here.http://wp-cli.org/#install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published