So, I want to write a plugin/module that, when certain requirements are met, the plugin stops all further processing and returns a blank page.
For my needs, the use case for this can be one of two things:
- referrer = “…”
- user agent = “…” (think of ai bots or certain crawlers)
What is the best way to accomplish this? Is there an API call to end all processing?