prof more checks at profil and when fipf validate transfert
This commit is contained in:
@@ -51,7 +51,11 @@ function prof_profil_check_CIPF() {
|
||||
// the way to find the id of the author of an author_page
|
||||
$author_id = get_queried_object_id();
|
||||
|
||||
// in case event didn't fire, handle card_expiration
|
||||
/*
|
||||
* in case event didn't fire, handle card changes
|
||||
*
|
||||
*/
|
||||
handle_transfert_validation_CIPF($user_id);
|
||||
handle_card_expire_CIPF($author_id);
|
||||
}
|
||||
add_action('wp', 'prof_profil_check_CIPF', 11);
|
||||
|
||||
Reference in New Issue
Block a user