Copy file action

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

How to copy a file

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

"Copy 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 Copy 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.
source_path *

The relative path of the file you want to copy. This can be a relative path or an external url. For example: wp-content/themes/demo-theme/demo-file.php or a full url like https://my-domain/image.jpg

destination_path *

The relative path as well as file name. For example: wp-content/uploads/demo-image.jpg (See the main description for more information)

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 "Copy file" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a subscription was cancelled via The Studiocart Logo for our WP Webhooks integration Studiocart, copy a file via The WordPress Logo for our integration WordPress.
When an appointment was rescheduled via The Amelia Logo for our WP Webhooks integration Amelia, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a license status was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, copy a file via The WordPress Logo for our integration WordPress.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, copy a file via The WordPress Logo for our integration WordPress.
When a new affiliate signed up via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, copy a file via The WordPress Logo for our integration WordPress.
When an order was restored via The Woocommerce Logo for our integration WooCommerce, copy a file via The WordPress Logo for our integration WordPress.
When a plugin was activated via The WordPress Logo for our integration WordPress, copy a file via The WordPress Logo for our integration WordPress.
When an item was approved via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, copy a file via The WordPress Logo for our integration WordPress.
When a donation was cancelled via The GiveWP Logo for our WP Webhooks integration GiveWP, copy a file via The WordPress Logo for our integration WordPress.
When a user was updated via The WordPress Logo for our integration WordPress, copy a file via The WordPress Logo for our integration WordPress.
When a payments status was changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, copy 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, copy a file via The WordPress Logo for our integration WordPress.
When one or multiple tags have been added to a contact via The Autonami Logo for our WP Webhooks integration Autonami, copy 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, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a group access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, copy a file via The WordPress Logo for our integration WordPress.
When a donation was revoked via The GiveWP Logo for our WP Webhooks integration GiveWP, copy a file via The WordPress Logo for our integration WordPress.
When a free membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, copy 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.