How to.. ACF custom button to update field values

[ad_1]

When editing a post from admin panel, I have a function that copies values from one ACF field to another when the users saves the post. Instead of executing on save, I would like it to execute when I click a custom button.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer