Classes

Here you can find a few selected public classes provided by Greyd.Suite. It explains their purpose, structure, and available methods, offering developers a reference for extending or integrating with the plugin beyond the user-facing documentation.

  • More in this section

Global Content: GC_Helper

The GC_Helper class acts as the nerve centre of the Greyd Global Content plugin. It groups a wide range of static utilities that support distribution, synchronisation and retrieval of posts across a multisite network and remote connections. Unlike most classes in the system, GC_Helper maintains no state; you call its methods directly without creating an […]

Read more

Global Content: GC_Post

GC_Post is the abstraction the Global Content plugin uses while processing posts. It wraps a WordPress post and normalizes both native WP_Post fields and Global Content–specific attributes used during synchronization and distribution. You construct it with a WP_Post, an object, or a post ID. The constructor validates input, prevents operating on trashed or missing posts, […]

Read more

Post Export: Preparred_Post

Greyd\\Preparred_Post is a data abstraction for WordPress posts that you can reliably export from one site and import into another. The class wraps a post’s core fields and augments them with everything needed for a safe round-trip: post meta, taxonomy terms, nested references found inside content or meta, attached media, language metadata, and optional menu […]

Read more

Last updated: