Series_Metaboxes::remove_series_from_linked_metaboxes( TECEvents_ProCustom_TablesV1EditorsClassicarray $linked_posttypes )

Remove our series from the list of linked post types that will automatically render a metabox in the default location. We want to control this metabox rendering separately.


Parameters

$linked_posttypes

(<span class="TECEvents_ProCustom_TablesV1EditorsClassicarray">TECEvents_ProCustom_TablesV1EditorsClassicarray) (Required) The list of linked post types to filter.


Top ↑

Return

(TECEvents_ProCustom_TablesV1EditorsClassicarray<string,mixed>) The filtered list of linked post types.


Top ↑

Source

File: src/Events_Pro/Custom_Tables/V1/Editors/Classic/Series_Metaboxes.php

	public function remove_series_from_linked_metaboxes( array $linked_posttypes ): array {
		unset( $linked_posttypes[ Series_Post_Type::POSTTYPE ] );

		return $linked_posttypes;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.