Tag Info

New answers tagged

0

You can TEST THE TIME of get_option (100 iterations) using this code (put in functions.php or somewhere): add_action('wp','My_Test'); function My_Test(){ var_dump(microtime(true)); for ($i=1; $i<100; $i++) { get_option('blogdescription'); } var_dump(microtime(true)); for ($i=1; $i<100; $i++) { get_theme_mod('blogdescription'); } ...



Top 50 recent answers are included