开发者 | brokensmile.2103 |
---|---|
更新时间 | 2025年10月1日 14:04 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/init-ad-engine
or install from the WordPress Plugin Directory.No. Ad rendering is done via inline JS and dynamic DOM injection. It's fully compatible with caching.
Yes. Each position supports a fallback HTML/JS block, including <script>
tags.
Yes. Each ad position is associated with desktop, mobile, or both. The plugin auto-detects screen size.
No. Version 1.0 focuses on display only. Analytics may be added in future updates.
wp_kses
with a custom allow-list for late escaping (security hardening).init_plugin_suite_ad_engine_use_kses
to toggle escaping (default true
).\
Developers can return false
to output raw snippets without escaping.init_plugin_suite_ad_engine_allowed_tags
to extend or modify the allow-list of permitted tags/attributes.init_plugin_suite_ad_engine_render_snippet()
helper function.expire_hours
init_ad_engine_should_enqueue_affiliate_gate
allows theme to control when to enqueue the affiliate gate