Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Add support for ACF Extended Slug and Code Editor fields #161

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/class-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ public static function get_supported_fields() {
'email',
'url',
'password',
'acfe_slug',
'acfe_code_editor',
'image',
'file',
'wysiwyg',
Expand Down Expand Up @@ -396,6 +398,8 @@ protected function register_graphql_field( $type_name, $field_name, $config ) {
case 'message':
case 'oembed':
case 'password':
case 'acfe_slug':
case 'acfe_code_editor':
case 'wysiwyg':
case 'url':
// Even though Selects and Radios in ACF can _technically_ be an integer
Expand Down