event-dispatcher: expose iterator to iterate over the registered hooks
This commit is contained in:

committed by
Julian Bouzas

parent
b100bdda4a
commit
5a435fae11
@@ -85,6 +85,9 @@ WP_API
|
||||
void wp_event_dispatcher_unregister_hook (WpEventDispatcher * self,
|
||||
WpEventHook * hook);
|
||||
|
||||
WP_API
|
||||
WpIterator * wp_event_dispatcher_new_hooks_iterator (WpEventDispatcher * self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user