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 ans 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 membership has expired via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a form was submitted via The WPForms Logo for our integration WPForms, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a booking status was updated via The Amelia Logo for our WP Webhooks integration Amelia, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a form was submitted via The Newsletter Logo for our WP Webhooks integration Newsletter, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a donation was cancelled 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 HTTP request was received via The Webhooks Logo for our WP Webhooks integration Webhooks, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user password was changed 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 a donation was completed 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 tag was added via The WP Fusion Logo for our WP Webhooks integration WP Fusion, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a user voted on a poll via The WP-Polls Logo for our WP Webhooks integration WP-Polls, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a purchase was completed via The WP Simple Pay Logo for our WP Webhooks integration WP Simple Pay, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a plugin 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 a donation was abandoned 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 Zapier webhook request was received via The Zapier Logo for our WP Webhooks integration Zapier, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a license was activated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, rename a file or a folder via The WordPress Logo for our integration WordPress.
When an order was deleted via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, 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 post got favored via The Favorites Logo for our WP Webhooks integration Favorites, 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 referral status changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, 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.