Tribe__Editor__Blocks__Abstract::load()

Registering the block and loading the assets and hooks should be handled separately.

Contents


Source

File: src/Tribe/Editor/Blocks/Abstract.php

	public function load() {
		add_action( 'wp_ajax_' . $this->get_ajax_action(), [ $this, 'ajax' ] );

		$this->assets();
		$this->hook();
	}

Top ↑

Changelog

Changelog
Version Description
4.14.13 Introduced.