A new way to query domains that is more in keeping with the WordPress PHP semantics.
Created a new DomainMapping class for managing the custom table and associated data logic.
Create a new DomainQuery class, which works very similar to WP_Query, but for domains!
Reworked the REST API endpoints to use the new DomainQuery. Note: the JSON output is unchanged, so retaining the v1/ aspect as it is backwards compatible with v2.x.x versions of Dark Matter Plugin.
Reworked the CLI commands to use the new DomainQuery.
[Add more info here ...]
New sub-library for managing and creating Custom Tables.
This PR includes:
NOTE: very, very much in progress/not finished.
DomainMapping
class for managing the custom table and associated data logic.DomainQuery
class, which works very similar toWP_Query
, but for domains!DomainQuery
. Note: the JSON output is unchanged, so retaining thev1/
aspect as it is backwards compatible with v2.x.x versions of Dark Matter Plugin.DomainQuery
.