A include_template Question

Right now I am building virtual pages on a wordpress install. I use the include_template hook to add some logic that checks for a 404 page & some regex to look for a specific pattern.

This seems horribly inefficient. If my plugin is doing this, and other plugins are doing this, arn’t we all just adding tons of code to be parsed every single time a page loads on the website? What happens when my plugins grows enormously. This system of hooks is terrible.

Read More

Am I doing this right?

Related posts

Leave a Reply