Delete file action

This action lets you delete a file via the WordPress integration. Use it to automate you daily work ans save time and resources.

How to delete a file

This section aims to help you getting started on how to delete a file via WordPress. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Delete file" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Delete file action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
file *

The path as well as the file name and extension. For example: wp-content/themes/demo-theme/index.php

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Delete file" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a donation is pending via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a file via The WordPress Logo for our integration WordPress.
When a profile photo was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a file via The WordPress Logo for our integration WordPress.
When a user was updated via The WordPress Logo for our integration WordPress, delete a file via The WordPress Logo for our integration WordPress.
When an order was created via The Woocommerce Logo for our integration WooCommerce, delete a file via The WordPress Logo for our integration WordPress.
When a tag was removed from a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, delete a file via The WordPress Logo for our integration WordPress.
When a user completed a module via The WP Courseware Logo for our WP Webhooks integration WP Courseware, delete a file via The WordPress Logo for our integration WordPress.
When a file was downloaded via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, delete a file via The WordPress Logo for our integration WordPress.
When a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a file via The WordPress Logo for our integration WordPress.
When an ACF user field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, delete a file via The WordPress Logo for our integration WordPress.
When an action URL request was received via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, delete a file via The WordPress Logo for our integration WordPress.
When a post was deleted via The WordPress Logo for our integration WordPress, delete a file via The WordPress Logo for our integration WordPress.
When a user logged in via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a file via The WordPress Logo for our integration WordPress.
When a product was viewed via The Woocommerce Logo for our integration WooCommerce, delete a file via The WordPress Logo for our integration WordPress.
When a post got favored via The Favorites Logo for our WP Webhooks integration Favorites, delete a file via The WordPress Logo for our integration WordPress.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, delete a file via The WordPress Logo for our integration WordPress.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, delete a file via The WordPress Logo for our integration WordPress.
When a form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, delete a file via The WordPress Logo for our integration WordPress.
When a booking was cancelled via The Events Manager Logo for our WP Webhooks integration Events Manager, delete a file via The WordPress Logo for our integration WordPress.
When a user password was recovered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a file via The WordPress Logo for our integration WordPress.
When a user was deleted via The WordPress Logo for our integration WordPress, delete a file via The WordPress Logo for our integration WordPress.
When a plugin was deleted via The WordPress Logo for our integration WordPress, delete a file via The WordPress Logo for our integration WordPress.

More available WordPress endpoints

Discover more of the available endpoints used for the WordPress integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.