Support

Account

Home Forums General Issues get_field returning null after update Reply To: get_field returning null after update

  • My bad, no “s”, should have copied paste that. Here was the code that returned null on a key being a taxonomy image slug:

    $img = get_field($key);

    Switched to this as a quick fix

    $img = get_post_field( $key );