iCalendar_Handler::use_subscribe_links()
Allow toggling off the new subscribe link list via a hook.
Return
(boolean) Whether to use the new subscribe link list.
Source
File: src/Tribe/Views/V2/iCalendar/iCalendar_Handler.php
public function use_subscribe_links() {
/**
* Determines if Subscribe links should be enabled.
*
* @since 5.12.0
*
* @param bool $use_subscribe_links Should we use subscribe links.
*/
return apply_filters( 'tec_views_v2_use_subscribe_links', true );
}
Changelog
| Version | Description |
|---|---|
| 5.12.0 | Introduced. |