Skip to content

Instantly share code, notes, and snippets.

View jeremyProwseYS's full-sized avatar

Jeremy Prowse jeremyProwseYS

View GitHub Profile
@jeremyProwseYS
jeremyProwseYS / wp-graphql-meta-field-ordering.php
Created October 11, 2022 21:00
Add meta field ordering to graphlql queries for terms and posts
<?php
/*
Plugin Name: WP GraphQL Meta Field Ordering
Description: Adds functionality to order by a meta field as specified by the user.
Version: 1.0.0
*/
/* *****************************