Action: Rename file or folder

Rename a local file or folder via a webhook inside of your WordPress folder structure.
On this page you will find further information about the Rename file or folder action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Rename file or folder action is part of our WordPress integration.

Webhook setup guide

This section aims to help you getting started with the Rename file or folder action.
Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

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.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When a post 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 license was deactivated 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 customer was updated via The Woocommerce Logo for our integration Woocommerce, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a topic was completed 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 new subscription payment was created 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 an order was deleted via The Woocommerce Logo for our integration Woocommerce, 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 form was submitted via The Elementor Logo for our WP Webhooks integration Elementor, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a new affiliate signed up via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, 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 an order was updated 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 product was deleted via The Woocommerce Logo for our integration Woocommerce, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a shortcode was called via The WordPress Logo for our integration WordPress, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a subscription status has changed 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 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 a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, rename a file or a folder via The WordPress Logo for our integration WordPress.
When a contact was deleted 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 form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, rename a file or a folder via The WordPress Logo for our integration WordPress.

More available endpoints

Down below you will find a list of all available triggers and actions for the WordPress integration.
If you want 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.