Created
January 25, 2025 06:25
-
-
Save chikaibeneme/2a07a5ea489284f23c5486b6ff3863db to your computer and use it in GitHub Desktop.
Optimize Recurrence Period for Better Performance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function custom_recurrence_max_months( $value ) { | |
| return 12; // Change to 6 or 12 for better performance | |
| } | |
| add_filter( 'tribe_get_option_recurrenceMaxMonthsAfter', 'custom_recurrence_max_months' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment