email-obfuscation.php
Email-obfuscation bootstrap: content-filter mode and full-page-buffer mode.
Table of Contents
Functions
- creationell_captcha_register_email_obfuscation() : void
- Registers email obfuscation on `init`. The decoder script is always registered; then, unless the kill-switch is set or the feature is off, the configured mode is wired up — the content filters (module 7) or the full-page output buffer (module 8).
- creationell_captcha_register_email_buffer() : void
- Wires up the full-page-buffer mode: on `template_redirect` for non-feed front-end requests it enqueues the decoder script and starts an output buffer whose callback obfuscates the page body at flush time.
Functions
creationell_captcha_register_email_obfuscation()
Registers email obfuscation on `init`. The decoder script is always registered; then, unless the kill-switch is set or the feature is off, the configured mode is wired up — the content filters (module 7) or the full-page output buffer (module 8).
creationell_captcha_register_email_obfuscation() : void
creationell_captcha_register_email_buffer()
Wires up the full-page-buffer mode: on `template_redirect` for non-feed front-end requests it enqueues the decoder script and starts an output buffer whose callback obfuscates the page body at flush time.
creationell_captcha_register_email_buffer(EmailObfuscator $obfuscator) : void
Parameters
- $obfuscator : EmailObfuscator
-
The obfuscator.