Provider::add_single_series_text_marker( string $html )

Appends the Series relationship marker to the input HTML code, if required.


Parameters

$html

(string) (Required) The HTML code to append the marker to.


Top ↑

Return

(string) The HTML with the marker HTML appended to it, if required.


Top ↑

Source

File: src/Events_Pro/Custom_Tables/V1/Templates/Provider.php

	public function add_single_series_text_marker( $html ) {
		if ( ! is_singular( TEC::POSTTYPE ) ) {
			return $html;
		}

		$series_text_marker = $this->container->make( Single_Event_Modifications::class )
		                                      ->get_series_relationship_text_marker( get_the_ID() );

		return $html . $series_text_marker;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.