APIs
Here you can find the available APIs in Greyd.Suite. It outlines how developers can interact with plugin features programmatically and extends the user-facing documentation by focusing on technical endpoints and integration details.
Here you can find the available APIs in Greyd.Suite. It outlines how developers can interact with plugin features programmatically and extends the user-facing documentation by focusing on technical endpoints and integration details.
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 […]
The following examples illustrate how third‑party developers can use these filters to extend the post export and import logic. For more information about the filters, see the Post Export Filter documentation. Customise export query arguments Exclude password‑protected posts from being exported by altering the query arguments: PHPCopyadd_filter( 'greyd_export_post_query_args', function( $query_args, $post_id, $args ) { // […]
The post export feature of the Greyd Plugin allows administrators to export posts from any supported post type and later import them into another site. During the export and subsequent import the plugin exposes a series of WordPress filters that enable developers to intervene in the process. These filters let you adjust the query used […]
If you’re looking for more filters related to Greyd Forms, see the Greyd Forms Filters documentation. Opt-in mail filters greyd_forms_optin_mail_to Filter to modify the recipient email address for the opt-in verification mail. This filter allows developers to customize the email address that receives the verification email, enabling dynamic recipient selection based on form data or […]
Here you can find some code snippets to use with Greyd Forms Filters. Modifying form validation PHPCopyadd_filter( 'greyd_forms_required_fields', function( $required_fields, $post_id, $data ) { // Add custom required field logic if ( $post_id === 123 ) { $required_fields[] = 'my-custom-meta-field'; } return $required_fields; }, 10, 3 ); Render a custom field at the end of […]
On this page, we’ve listed available filters for Greyd Forms. If you’re looking for filters specific to emails, see the Greyd Forms Mail Filter documentation. See the Greyd Forms Filter Snippets for examples how to use the filters. Form Validation Filters greyd_forms_expected_fields Filter to modify the expected form input fields before validation. This filter allows […]
This document lists all action hooks available in the Greyd Forms plugin. Hooks are organized by their role in the form lifecycle. Most hooks are triggered by the plugin itself during form handling. A few hooks are utility hooks that developers can call manually inside their own extensions to log, abort, or complete form processing. […]
The WordPress Site Editor allows editing templates, template parts, and content blocks directly within a visual layout. While this provides more flexibility for theme-wide design and structure, it also affects how Global Content is handled. This article explains how Global Content integrates into the Site Editor, how it differs from the classic post editing screen, […]
Linked posts are synchronized copies of global root posts. They are read-only by design and reflect the exact content, structure, and metadata of their source post. Editors cannot make direct changes to a linked post unless they explicitly unlink it from the global source. This article outlines what users can see in the editor when […]