Link_Abstract::hook()

Hooks this instance actions and filters.

Contents


Source

File: src/Tribe/Views/V2/iCalendar/Links/Link_Abstract.php

	public function hook() {
		if ( true === $this->hooked ) {
			return;
		}

		add_filter( 'tec_views_v2_subscribe_links', [ $this, 'filter_tec_views_v2_subscribe_links' ], 10 );
		add_filter( 'tec_views_v2_single_subscribe_links', [ $this, 'filter_tec_views_v2_single_subscribe_links' ], 10, 2 );

		$this->set_hooked();
	}

Top ↑

Changelog

Changelog
Version Description
5.12.3 Introduced.