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
| <?php | |
| /** | |
| * Events GraphQL functions | |
| */ | |
| namespace Events; | |
| use WPGraphQL\Data\Connection\TermObjectConnectionResolver; | |
| use WPGraphQL\AppContext; | |
| use WPGraphQL\Model\Post; |
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
| <?php | |
| /** | |
| * Fix WPGraphQL cursor pagination when TEC Custom Tables V1 is active. | |
| * | |
| * TEC Custom Tables V1 replaces WP_Meta_Query with Custom_Tables_Meta_Query, | |
| * redirecting meta key JOINs (e.g. _EventStartDate) from wp_postmeta to the | |
| * tec_occurrences table. | |
| * | |
| * This class addresses three issues: | |
| * |
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
| <?php | |
| /** | |
| * Plugin Name: WP GraphQL Meta Field Ordering | |
| * Description: Adds functionality to order by a meta field as specified by the user. | |
| * See: https://gist.github.com/jasonbahl/da87dbccb58f1323a324a9b3e8952d6c | |
| * and also: | |
| * https://github.com/wp-graphql/wp-graphql/issues/287 | |
| * https://github.com/wp-graphql/wp-graphql/pull/721 | |
| * https://github.com/wp-graphql/wp-graphql-meta-query/blob/develop/wp-graphql-meta-query.php | |
| */ |