[wp-trac] [WordPress Trac] #22218: Extra add_action() parameter
WordPress Trac
noreply at wordpress.org
Thu Oct 18 15:26:57 UTC 2012
#22218: Extra add_action() parameter
-------------------------+------------------------------
Reporter: dgwyer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.4.2
Severity: normal | Resolution:
Keywords: 2nd-opinion |
-------------------------+------------------------------
Comment (by dgwyer):
Yep, I've used that function before.
I just can't see, in this case, how any parameters specified in
{{{do_actions()}}} for a particular hook are passed to the {{{invoke()}}}
method via:
{{{
array( new My_Functor( 'my_callback', $extra_args ), 'invoke' )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22218#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list