Skip to content

Simple plugin for developers to easily trigger hooks with arguments for testing / checking purposes.

License

Notifications You must be signed in to change notification settings

joerivanveen/wp-trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

wp-trigger

Simple plugin for developers to easily trigger hooks with arguments for testing / checking purposes.

Place trigger.php in your plugin directory and activate it in your wordpress->plugins dashboard.

Now you can trigger hooks using a query string, for instance: http://localhost/your_path/?hook=the_hook&argument1=value1&argument2=value2

The name of the hook you want to trigger must be the first query var, and all the arguments this hook expects must follow in the right order.

This file also switches error reporting on.

Because I use the splat operator you need php5.6 or higher.

NOTE: only use it for development purposes, NEVER on a production server.

About

Simple plugin for developers to easily trigger hooks with arguments for testing / checking purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages