Timeline for How to get all the predefined do_action() calls from an active theme
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 8:21 | history | edited | CommunityBot |
Commonmark migration
|
|
Apr 6, 2018 at 17:45 | comment | added | Pat J | It sounds to me like you're trying to accomplish something akin to the goal of the Theme Hook Alliance. | |
Apr 6, 2018 at 17:21 | answer | added | Nathan Johnson | timeline score: 0 | |
Apr 19, 2015 at 20:24 | comment | added | bueltge | The plugin Debug Objects give you all fired hooks in current page, also in front end. Maybe this helps you. | |
Apr 18, 2015 at 16:12 | comment | added | Mayeenul Islam | The first level are the hook names/tags. - though I'm not sure till now. I'll let you know the update. | |
Apr 18, 2015 at 14:00 | comment | added | Nicolai Grossherr | Because you're already addressing the specific element in the array. The first level are the hook names/tags. To get all your »pre_*« hooks you have to iterate and/or search through the array, there are plenty of threads how to do this on Stack Overflow. Or at least I don't know of a build-in functionality to do it with. | |
Apr 18, 2015 at 13:49 | comment | added | Mayeenul Islam | @ialocin you are right. +1 for that. But actually that couldn't solve my problem. It's returning the callback function, not the hook. :( | |
Apr 18, 2015 at 12:09 | comment | added | Nicolai Grossherr |
Do you do add_action( 'pre_kk', 'your_function' ) to your do_action( 'pre_kk' ) ? Because otherwise - if I'm not totally mistaken - it won't be added to $wp_filter .
|
|
Apr 18, 2015 at 11:46 | history | edited | Mayeenul Islam | CC BY-SA 3.0 |
added 18 characters in body
|
Apr 18, 2015 at 11:32 | history | asked | Mayeenul Islam | CC BY-SA 3.0 |