Rename file or folder action

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

How to rename a file or a folder

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

"Rename file or folder" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Rename file or folder 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.
source_path *

The relative path of the folder you want to rename (and the file name and extension if you want to rename a file). For example: wp-content/themes/demo-theme/demo-folder or for a file wp-content/themes/demo-theme/demo-file.php

destination_path *

The relative path with the new folder name (or the new file name and extension if you want to rename a file). For example: wp-content/themes/demo-theme/new-demo-folder or for a file wp-content/themes/demo-theme/new-demo-file.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 "Rename file or folder" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a Integrately webhook request was received via The Integrately Logo for our WP Webhooks integration Integrately, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a free membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a customer was created via The Woocommerce Logo for our integration WooCommerce, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user was deleted via The WordPress Logo for our integration WordPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When the cache was cleared via The WP Super Cache Logo for our WP Webhooks integration WP Super Cache, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a Stripe payment was completed via The Formidable Logo for our WP Webhooks integration Formidable Forms, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a product was created via The Woocommerce Logo for our integration WooCommerce, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a plugin was activated via The WordPress Logo for our integration WordPress, rename a file or a folder 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, rename a file or a folder via The WordPress Logo for our integration WordPress.
When the page cache was cleared via The WP-Optimize Logo for our WP Webhooks integration WP-Optimize, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user was logged out via The WordPress Logo for our integration WordPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a topic was unfavored via The bbPress Logo for our WP Webhooks integration bbPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a subscription payment was completed via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user was created via The WordPress Logo for our integration WordPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a donation is pending via The GiveWP Logo for our WP Webhooks integration GiveWP, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a website comment was created via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, rename a file or a folder 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.