[buddypress-trac] [BuddyPress] #1041: navigation - being able to specify a function for 'screen_function' which is inside a class

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Sep 18 16:34:02 UTC 2009


#1041: navigation - being able to specify a function for 'screen_function' which
is inside a class
------------------------+---------------------------------------------------
Reporter:  grosbouff    |       Owner:     
    Type:  enhancement  |      Status:  new
Priority:  minor        |   Milestone:  1.2
Keywords:               |  
------------------------+---------------------------------------------------

Comment(by apeatling):

 This is already possible:

 {{{
                 if ( !is_object($screen_function[0]) )
                         add_action( 'wp', $screen_function, 3 );
                 else
                         add_action( 'wp', array( &$screen_function[0],
 $screen_function[1] ), 3 );

 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1041#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list