I saw someone ask a similar question in a recent thread, but I wanted to pose it a little differently.
In this article (https://docs.generatepress.com/article/adding-php/), it’s recommended to add PHP to GeneratePress using one of three methods:
1. Code Snippets plugin.
2. Create your own custom plugin.
3. Child theme.
I realize there are pros and cons to each and one method may be better than another depending on the specific context.
But ignoring all of that for a minute, which method is best regardless of context? Meaning, if a person was equally comfortable using all 3 methods and strictly wanted to choose the one that would be most ideal in terms of speed/performance… which method wins?
Thanks.