Advertisement
verygoodplugins

Untitled

Feb 20th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1.         $update_data = array(
  2.             'sub_product_name'  => $sub_product_name,
  3.             'sub_start_date'    => $subscription->get_date('date_created'),
  4.             'sub_renewal_date'  => $subscription->get_date('next_payment')
  5.         );
  6.  
  7.         if( $status == 'active' ) {
  8.  
  9.             wp_fusion()->user->push_user_meta( $user_id, $update_data );
  10.  
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement