Tribe__Events__Editor::add_event_custom_field_support()

When Gutenberg is active, we do not care about custom-fields as a metabox, but as part of the Rest API

Code is located at: https://github.com/moderntribe/the-events-calendar/blob/f8af49bc41048e8632372fc8da77202d9cb98d86/src/Tribe/Admin/Event_Meta_Box.php#L345


Return

(void)


Top ↑

Source

File: src/Tribe/Editor.php

	public function add_event_custom_field_support() {
		add_post_type_support( Tribe__Events__Main::POSTTYPE, 'custom-fields' );
	}

Top ↑

Changelog

Changelog
Version Description
4.7 Introduced.