RemoteBanners
Handle the logic for showing the banners
Description #
Source #
File: includes/licensing/src/controller/class-remote-banner.php
Changelog #
| Version | Description |
|---|---|
| 4.18.0 | Introduced. |
Methods #
- display_ads — Render the ads.
- filter_displayable_banners — Filter the banner by its condition, eg page slug and time frame
- get_banners — Return the banners.
- hide_banner — Ajax endpoint for hide a banner permanent
- maybe_show_banners — Maybe show the banners
- register_hooks — Register hooks.
- register_scripts — Register scripts and styles. — deprecated