TransPersonal
Member
Posted 2 years ago #
Hi guys,
I've been using WP for a while but alwaays wondered something about the amazing functions.php file.
The code I put in my functions.php file - do these codes get read by the system every time a page on my site gets loaded? I ask because I have many "prevent default behavior" type rules for various plugins in my functions.php and am afraid that the more stuff I have in that file the slower it's going to make my site.
Is my fear reasonable or not?
The code I put in my functions.php file - do these codes get read by the system every time a page on my site gets loaded?
Yes. See:
http://codex.wordpress.org/Theme_Development#Theme_Functions_File
I have many "prevent default behavior" type rules for various plugins in my functions.php and am afraid that the more stuff I have in that file the slower it's going to make my site.
Since this file functions like a plugin and depending on what's in it, it could potentially slow down your site like some plugins can.
TransPersonal
Member
Posted 2 years ago #