WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
10/18/2012 04:15:16 PM (6 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}}}