mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Add new filter hook 'um_activate_url
This commit is contained in:
@@ -196,6 +196,7 @@ class UM_Permalinks {
|
||||
global $ultimatemember;
|
||||
|
||||
if ( !um_user('account_secret_hash') ) return false;
|
||||
$url = apply_filters( 'um_activate_url', home_url() );
|
||||
$url = add_query_arg( 'act', 'activate_via_email', $url );
|
||||
$url = add_query_arg( 'hash', um_user('account_secret_hash'), $url );
|
||||
$url = add_query_arg( 'user_id', um_user('ID'), $url );
|
||||
|
||||
Reference in New Issue
Block a user