WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #7784, comment 6


Ignore:
Timestamp:
11/07/2011 05:46:05 PM (7 years ago)
Author:
aaroncampbell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7784, comment 6

    initial v1  
    88add_action( 'profile_update', 'my_profile_update', null, 2 );
    99}}}
     10
     11Notice that the 4th parameter sent to add_action is the number of parameters.  It defaults to one but by specifying 2 I get both.