Skip to content

Commit

Permalink
Better docs for mc_get_instance_data
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 15, 2024
1 parent e2b4fa2 commit 5f8d6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ function mc_get_instance_data( $instance_id ) {
* Fetch the instance of an event closest to today.
*
* @param int $id Event core ID.
* @param bool $next If true, return closest event that's in the future.
* @param bool $next If true, return closest event that's in the future. If false, return the event object for $id.
*
* @return object Event
*/
Expand Down

0 comments on commit 5f8d6bd

Please sign in to comment.