Support

Account

Home Forums Gutenberg get_option() called dozens of times on option names that don't exist in the DB Reply To: get_option() called dozens of times on option names that don't exist in the DB

  • When the function get_field() is called, or any ACF function for that matter, ACF tries to determine the correct post ID. It goes through a series of test to try to figure out if the field is for a post, term or user. If it does these test and does not come up with a post, term or user then it defaults to options. Basically this is happening because ACF cannot figure out where to get the value from.