PUE::register()

Registers the filters required by the Plugin Update Engine.

Contents


Source

File: src/Tribe/PUE.php

	public function register() {
		$this->container->singleton( static::class, $this );
		$this->container->singleton( 'events-virtual.pue', $this );

		add_action( 'tribe_helper_activation_complete', [ $this, 'load_plugin_update_engine' ] );

		register_uninstall_hook( Plugin::FILE, [ 'tribe_events_virtual_uninstall' ] );
	}

Top ↑

Changelog

Changelog
Version Description
1.0.0 Introduced.