I want to get the list of all available hooks from active theme / from a specific plugin.
I was tried to get it from global variables $wp_actions & $wp_filter
But, They are showing all registered hooks.
E.g.
global $wp_actions, $wp_filter;
echo '<pre>';
print_r($wp_filter);
E.g. If theme or plugin register the action in after_setup_theme
then it'll list in [after_setup_theme]
key from global $wp_filter
.
I was tried one of the best plugin Simply Show Hooks
. But, It'll also, show all the registered hooks.
Is there any way to get the specific hooks from theme / plugin?
wp parser parse .
), which will create a list of hooks (in addition to all functions/classes/etc.).