Tribe__Events__Pro__Editor__Blocks__Additional_Fields::register()

Register all the additionals fields as they might have


Return

(void)


Top ↑

Source

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

	public function register() {
		$blocks = tribe( 'events-pro.editor.fields' )->get_block_names();
		foreach ( $blocks as $block ) {
			$field = new Tribe__Events__Pro__Editor__Blocks__Additional_Field( $block );
			$field->register();
		}
	}

Top ↑

Changelog

Changelog
Version Description
4.5 Introduced.