BACK TO DIRECTORY

WP Utility Script Runner

by Bytes.co

5.0
(1 ratings)

Sometimes, you run into a situation where you just need to manually run a script. The actual logic might be as simple as generating a csv from a query, or changing a user’s settings, or even just running a single line of SQL. WordPress makes this difficult.

There are many hacky solutions to the problem, but most of them lack security or are too difficult for anyone but a developer to run or just take too long to build. That’s where we come in.

WP Utility Script Runner lets you start with a simple 17 line template, add in your custom code, save to the server, and in minutes you have a secure, fully featured utility, that you can safely run from the WordPress dashboard.

But that’s not all! With a few extra lines of code, your utility can:

  • Accept user input
  • Accept file input
  • Run at a future date and time
  • Run on a recurring schedule
  • Run large tasks by breaking them up into several smaller tasks, and saving state.
  • Create reports and other output files

Screenshots

The simplest version of a utility only has 17 lines of required code.

The simplest version of a utility only has 17 lines of required code.

Utilities can be enabled and disabled from the manage tab

Utilities can be enabled and disabled from the manage tab

Scripts are tucked away behind accordions, to prevent accidentally running them.

Scripts are tucked away behind accordions, to prevent accidentally running them.

Output is presented in real-time, without refreshing the page

Output is presented in real-time, without refreshing the page

Plugin Details

Active Installs
80
Total Downloads
3,955
Version
1.1.0
Requires WP
4.6
Requires PHP
Tested Up To
5.0.27
Added
2017-08-19
Last Updated
2018-10-22 8:34pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0