Support

Account

Home Forums General Issues Default Field Value on an Options Page Reply To: Default Field Value on an Options Page

  • I also ran a benchmark because I heard that getting the field by its key will save a database query or two.
    The benchmark was a single php function that called get_field() once. Across 1000 calls, getting the field by its key saved 3 seconds on my machine.

    We will start making the field keys human-readable and making all of our get_field() calls with the key.

    Cheers!