new profs redirects to command
This commit is contained in:
@@ -131,6 +131,14 @@ function prof_profil_redirects_CIPF() {
|
||||
redirect_home_CIPF();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* if connected prof is new, redirect to form commande
|
||||
*
|
||||
*/
|
||||
if (is_account_new_CIPF()) {
|
||||
redirect_command_CIPF();
|
||||
}
|
||||
}
|
||||
add_action('template_redirect', 'prof_profil_redirects_CIPF', 11);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user