Support

Account

Home Forums General Issues How to use this code in acf ? Reply To: How to use this code in acf ?

  • Where did you find this code? You have supplied no context

    “slider_off” is a field saved on an ACF options page, not a value saved to a WC product.

    
    $slider_off = get_field('slider_off', 'option');