Support

Account

Home Forums Backend Issues (wp-admin) WP User frontend pro not saving ACF values to Database Reply To: WP User frontend pro not saving ACF values to Database

  • Hello,

    I tried the following code –

    
    
    $get_meta = get_post_meta('32', "payment_options", true);
    print_r($get_meta);
    echo "<br>";
    
    if(update_field('payment_options', $get_meta, '32')){
    	echo "Success";
    }
    else{
    	
    	echo "FAIL";
    }
    

    And the output is –

    Array ( [0] => paypal [1] => credit-card [2] => stripe )
    FAIL

    πŸ™