Codex to include number of database queries for a given function
When looking up WordPress documentation it would be beneficial for a function in the codex e.g. get_site_url() to include how many queries it performs on the wp database. Many people might not be aware that each time a certain function is called it connects to the DB.
If someone was aware that each time they use get_site_url() it performs a query on the database they might consider caching it in global variable to use across their site.
- The topic ‘Codex to include number of database queries for a given function’ is closed to new replies.