Page_API::save_page_local_id_to_post( int $post_id, string $local_id )
Save the page id to the event.
Contents
Parameters
- $post_id
-
(int) (Required) The id to save the meta field too.
- $local_id
-
(string) (Required) The local id of the Facebook Page to save.
Return
(boolean) Whether the Facebook Page local id was saved to the event.
Source
File: src/Tribe/Meetings/Facebook/Page_API.php
public function save_page_local_id_to_post( $post_id, $local_id ) {
return update_post_meta( $post_id, $this->page_local_id_meta_field_name, $local_id );
}
Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |