WordPress.org

Plugin Directory

Changeset 605031


Ignore:
Timestamp:
09/28/12 06:16:38 (19 months ago)
Author:
picklewagon
Message:

add new_user_approve_request_approval_message filter

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

Legend:

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

    r605026 r605031  
    277277                $message .= sprintf(__('To approve or deny this user access to %s go to', $this->plugin_id), get_option('blogname')) . "\r\n\r\n"; 
    278278                $message .= get_option('siteurl') . "/wp-admin/users.php?page=".$this->_admin_page."\r\n"; 
     279                 
     280                $message = apply_filters( 'new_user_approve_request_approval_message', $message, $user_login, $user_email ); 
    279281 
    280282                // send the mail 
  • new-user-approve/branches/1.4/readme.txt

    r605026 r605031  
    5555= 1.4 = 
    5656* add *new_user_approve_user_status* filter 
     57* add *new_user_approve_request_approval_message* filter 
    5758 
    5859= 1.3.5 = 
     
    152153= Filters = 
    153154* *new_user_approve_user_status* - modify the list of users shown in the tables 
     155* *new_user_approve_request_approval_message* - modify the request approval message 
    154156 
    155157= Translations = 
Note: See TracChangeset for help on using the changeset viewer.