Page_API::get_page_by_id( string $local_id )
Get a Single Facebook Page by id.
Contents
Parameters
- $local_id
-
(string) (Required) The local id of the Facebook Page.
Return
(TribeEventsVirtualMeetingsFacebookarray<string|TribeEventsVirtualMeetingsFacebookstring>) $page The Facebook Page data.
Source
File: src/Tribe/Meetings/Facebook/Page_API.php
public function get_page_by_id( $local_id ) {
return get_option( $this->single_page_prefix . $local_id, [] );
}
Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |