Support

Account

Home Forums Backend Issues (wp-admin) get_field() – strange behaviour Reply To: get_field() – strange behaviour

  • I can’t really give you a better way to debug because I cannot recreate the issue that you’re seeing.

    Is get_field() returning and empty array, false or NULL, there is a difference. false could mean that the field/data exists but is empty, although I would expect it to be returning an empty array. NULL would mean that the value/data does not exist (is not present in the database) for the post.