wip handle custom form submit
This commit is contained in:
@@ -23,7 +23,7 @@ function handle_prof_is_activ_CIPF($author_id) {
|
||||
*
|
||||
*/
|
||||
$is_activ = get_field($acf_prof_is_activ['_name'], $acf_id);
|
||||
if ($is_activ === 'Actif')
|
||||
if ($is_activ === $acf_prof_is_activ['activ'])
|
||||
return;
|
||||
|
||||
|
||||
@@ -81,9 +81,11 @@ function show_prof_paiement_messages_CIPF($user_id) {
|
||||
*
|
||||
*/
|
||||
$is_activ = get_field($acf_prof_is_activ['_name'], $acf_id);
|
||||
if (is_null($is_activ) || empty($is_activ))
|
||||
if (is_null($is_activ))
|
||||
return;
|
||||
if ($is_activ === 'Inactif')
|
||||
if (empty($is_activ))
|
||||
return;
|
||||
if ($is_activ === $acf_prof_is_activ['activ'])
|
||||
return;
|
||||
|
||||
$cipf_prof_payement = new PLGNTLS_class();
|
||||
|
||||
Reference in New Issue
Block a user