• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Account_API / Account_API::save_account_id_to_post()
Product: Virtual Events

Account_API::save_account_id_to_post( int $post_id, string $account_id )

Save the account id to the post|event.

Contents

  • Parameters
  • Return
  • Source
  • Changelog

Parameters

$post_id

(int) (Required) The id to save the meta field too.

$account_id

(string) (Required) The id of the single account to save.


Top ↑

Return

(bool|int)


Top ↑

Source

File: src/Tribe/Meetings/Zoom/Account_API.php

	public function save_account_id_to_post( $post_id, $account_id ) {
		return update_post_meta( $post_id, $this->account_id_meta_field_name, $account_id );
	}

Expand full source code Collapse full source code


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.
The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy