Skip to content

Commit

Permalink
Fix dynamic object
Browse files Browse the repository at this point in the history
  • Loading branch information
olatechpro committed Jan 21, 2025
1 parent f43cc4a commit 13cce9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/calendar/library/calendar-methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*/

if (! class_exists('PP_Calendar_Methods')) {

#[\AllowDynamicProperties]
class PP_Calendar_Methods extends PP_Module
{

Expand Down Expand Up @@ -39,6 +41,11 @@ class PP_Calendar_Methods extends PP_Module

private $create_post_cap;

/**
* @var array
*/
private $postTypeObjectCache = [];

/**
* Total number of posts to be shown per square before 'more' link
*
Expand Down

0 comments on commit 13cce9c

Please sign in to comment.