WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22218, comment 1


Ignore:
Timestamp:
10/18/12 16:15:16 (2 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22218, comment 1

    v1 v2  
    1515} 
    1616 
    17 $instance = new My_Functor( 'my_callback', array( 'value1', 'value2', 'value3' ) ) 
     17$instance = new My_Functor( 'my_callback', array( 'value1', 'value2', 'value3' ) ); 
    1818add_action( 'some_hook', array( $instance, 'invoke' ) ); 
    1919}}}