WordPress.org

Plugin Directory

Changeset 605084


Ignore:
Timestamp:
09/28/12 08:34:49 (19 months ago)
Author:
picklewagon
Message:

add actions for when a user is approved or denied

Location:
new-user-approve/branches/1.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • new-user-approve/branches/1.4/new-user-approve.php

    r605083 r605084  
    336336        // change usermeta tag in database to approved 
    337337        update_user_meta( $user->ID, 'pw_user_status', 'approved' ); 
     338         
     339        do_action( 'new_user_approve_approve_user', $user ); 
    338340    } 
    339341 
     
    360362        // change usermeta tag in database to denied 
    361363        update_user_meta($user->ID, 'pw_user_status', 'denied'); 
     364         
     365        do_action( 'new_user_approve_deny_user', $user ); 
    362366    } 
    363367 
  • new-user-approve/branches/1.4/readme.txt

    r605083 r605084  
    5656* add filters 
    5757* honor the redirect if there is one set when registering 
     58* add actions for when a user is approved or denied 
    5859 
    5960= 1.3.5 = 
Note: See TracChangeset for help on using the changeset viewer.