Support » Plugin: BlackBox Debug Bar » using get_option() many times and not being shown in profiler

  • Resolved danieliser


    Not sure if its an issue with the plugin, my plugin or wordpress itself. My plugin calls to the get_option() for each of a dynamic number of options. Not only do i know for certain it is retrieving the info and returning as the content is being loaded but i also debugged with var_dump();

    Yet none of these queries are shown in the profiler. Im not sure if they are being called before or after the profiler starts/stops or what.

    I did set checkpoints and those seem to show up for each query but the queryies themselves even to other options for my plugin dont show up.

Viewing 1 replies (of 1 total)
  • NVM it is a cacheing issue. Had to look through core to find why i wasnt seeing them. And now i know how to check for nonexsiting options as well which allowed me to free up an additional 4 queries leaving me with 0 queries on front end load..

    Great tool.. Leaving a 5 star rating now. Will never develop another site or plugin without it.

Viewing 1 replies (of 1 total)
  • The topic ‘using get_option() many times and not being shown in profiler’ is closed to new replies.