prof more checks at profil and when fipf validate transfert

This commit is contained in:
asus
2024-04-01 01:39:38 +02:00
parent 75205571fe
commit 4d7906be40
2 changed files with 41 additions and 16 deletions

View File

@@ -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);