Provider::recurrence_get_start_dates( null|array $occurrences, int $post_id )
Will fetch the occurrence dates for the post specified.
Contents
Parameters
- $occurrences
-
(null|array) (Required) The results if any have been filtered.
- $post_id
-
(int) (Required) The post ID to fetch occurrences for.
Return
(string[]) The occurrence dates found.
Source
File: src/Events_Pro/Custom_Tables/V1/Legacy_Compat/Provider.php
public function recurrence_get_start_dates( $occurrences, $post_id ): array {
return $this->container->make( RecurrenceMeta::class )->recurrence_get_start_dates( $occurrences, $post_id );
}
Changelog
| Version | Description |
|---|---|
| 6.3.0 | Introduced. |