tribe_update_venue( int $postId, array $args )

Update a Venue using the legacy method.

Note: This function is outdated and should be replaced with the TEC ORM tribe_venue()->save() method

See also


Top ↑

Parameters

$postId

(int) (Required) ID of the Venue to be modified.

$args

(array) (Required) Args for updating the post. See tribe_create_venue() for more info.


Top ↑

Return

(int) ID of the Venue that was created. False if update failed.


Top ↑

Source

File: src/functions/advanced-functions/venue.php

	function tribe_update_venue( $postId, $args ) {
		$postId = Tribe__Events__API::updateVenue( $postId, $args );

		return $postId;
	}

Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.