b3_after_user_activated_by_admin()

Description

This hook fires after a user is approved by an administrator (or any role which can promote users).

Only 'do stuff' here, don't return/echo anything.

Usage

  1. function b3_after_user_activated_by_admin( $user_id ) {
  2.     // Do stuff
  3. }
  4. add_action( 'b3_after_user_activated_by_admin', 'b3_after_user_activated_by_admin' );

Note: this hook will change to b3_approve_user in the next version.

Used in

Tags