[wp-trac] [WordPress Trac] #45360: Store and get hook args in WP_Hook

WordPress Trac noreply at wordpress.org
Thu Nov 15 19:25:26 UTC 2018


#45360: Store and get hook args in WP_Hook
-----------------------------+-----------------------------
 Reporter:  hamedmoodi       |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Plugins          |    Version:  5.0
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Hi\\

 I think it is good that developer have access to args hooks in WP_Hook
 objects in global $wp_filter.\\

 I offer WP_Hook could be have 'public $args' and set args in do_action
 method.\\

 Final developers has access to args for each hook for programming.\\

 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45360>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list