I’m pretty new to WordPress, but have been programming PHP, Python, Java for years so I am comfortable with code. I have read the plugin API and about the action and filter hooks but I can’t find anyway to limit the execution of a plugin by detecting if a shortcode is present or not.
Does anybody have any recommendations on how to have the plugin halt or not execute unless the shortcode is present on the current page? I would like to make this improvement and submit the changes back to the author.
If I need to clarify anything or post code please let me know.
- The topic ‘detect shortcode before plugin execution’ is closed to new replies.