Make WordPress Core


Ignore:
Timestamp:
10/14/2009 02:30:51 AM (17 years ago)
Author:
markjaquith
Message:

Add set_user_role action hook. props jamescollins, usermrpapa. fixes #10716

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/capabilities.php

    r12027 r12028  
    606606                $this->get_role_caps();
    607607                $this->update_user_level_from_caps();
     608                do_action( 'set_user_role', $this->ID, $role );
    608609        }
    609610
Note: See TracChangeset for help on using the changeset viewer.