tribe_events_get_organizer_website_title( null|int $post_id = null )

Get the link for the organizer website.


Parameters

$post_id

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

Default value: null


Top ↑

Return

(string) Formatted title for the organizer website link


Top ↑

Source

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

	function tribe_events_get_organizer_website_title( $post_id = null ) {
		$post_id = tribe_get_organizer_id( $post_id );

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

Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.