Support

Account

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

  • I’m going to update mine to use get_post_meta() instead as the fields in the API’s can change.
    https://developer.wordpress.org/reference/functions/get_post_meta/

    For anyone wanting to do the same, remember that if you just want a single value, you have to set the last parameter to true.
    Otherwise, even if there’s only one field you will still get an array returned containing one item with the value you want.

    @retroriff did yo try toggling the return options? Maybe also try changing the data in the field you are trying to get and save it as well.