I have a small and growing collection of code fragments for things that should only be executed once. For example, a one-time pass that adds information to every taxonomy term.
As of now, I have been keeping them in theme/function files, commenting them in or out when needed to run.
Instead, I’d like to move to a situation where I, the admin, could just execute them by a button press.
What should I explore in order to build a plugin which gives me an admin page with a few buttons on, corresponding to my code fragments? How should I think about making buttons that make the code run?
I have use of ACF.
Read more here:: How to execute certain code on back-end button press?