Total Hook Extremism (THE) allows you to run functions by regular expression.
Example:
$regex = '/^[a-zA-Z0-9]*\_block\_info$/';
$results = the_module_invoke_all($regex);
print_r($results, TRUE);
This will execute any function that matches the regular expression... but it's harder than you think. Go ahead. Try it.
The Public API
the_module_invoke_all()
It's better[sic] than the real module_invoke_all().
the_executioner()
Execute any function by regular expression.
the_matchmaker()
Find any functions that match a regular expression.
the_goods()
Get a list of all defined functions.
Project information
- Project categories: Developer tools
- Created by mbutcher on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.