tribe_events_get_event_website_title( null|int $post_id = null )

Get the link for the event website.


Parameters

$post_id

(null|int) (Optional) The event or event ID.

Default value: null


Top ↑

Return

(string) Formatted title for the event website link


Top ↑

Source

File: src/functions/template-tags/link.php

	function tribe_events_get_event_website_title( $post_id = null ) {
		$post_id = Tribe__Main::post_id_helper( $post_id );

		/**
		 * Allows customization of a event's website title link.
		 *
		 * @since 5.5.0
		 *
		 * @param string $title The title of the event's website link.
		 * @param int 	 $post_id The event ID.
		 */
		return apply_filters( 'tribe_events_get_event_website_title', __( 'Website:', 'the-events-calendar' ), $post_id );
	}

Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.