is wordpress theme run all code in function.php
-
hey david i have some question
1. i have a lot of short code defined inside function.php so my question is “is every post run all shortcode’s functions whenever its not called in post” if yes than it is so harmful for loading speed because every shortcode function defined for different action.
2. how can i define a shortcode that’s exicute or load when i call in post or page. dont load dummy code when its not called.
3. i see a custom hook name inside hook “what is this and where in website it will visible when i give a nametesting
to it”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘is wordpress theme run all code in function.php’ is closed to new replies.