v 0.3.4 states are now handled with specific functions for setting, getting, and adding css
This commit is contained in:
@@ -60,7 +60,7 @@ function update_user_pre_order_CIPF($message) {
|
||||
* - 'nothing' -> output nothing on author page
|
||||
*
|
||||
*/
|
||||
set_payment_started($user_id);
|
||||
set_payment_started_CIPF($user_id);
|
||||
}
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ function failure_payment_for_user_CIPF($user_id, $order_id, $status) {
|
||||
delete_user_meta($user_id, $meta_order_id, $order_id);
|
||||
|
||||
|
||||
set_payment_failure($user_id);
|
||||
set_payment_failure_CIPF($user_id);
|
||||
set_account_to_pay_CIPF($user_id);
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ function success_payment_for_user_CIPF($user_id, $order_id) {
|
||||
}
|
||||
set_card_renew_CIPF($user_id);
|
||||
|
||||
set_payment_success($user_id);
|
||||
set_payment_success_CIPF($user_id);
|
||||
set_account_valid_CIPF($user_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user