HEX
Server: Apache/2.4.66 (Debian)
System: Linux 6dfabc3b2241 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: (1000)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wpgraphql-acf/access-functions.php
<?php

/**
 * @param string                $acf_field_type
 * @param array<mixed>|callable $config
 */
function register_graphql_acf_field_type( string $acf_field_type, $config = [] ): void {
	add_action(
		'wpgraphql/acf/register_field_types',
		static function ( \WPGraphQL\Acf\FieldTypeRegistry $registry ) use ( $acf_field_type, $config ) {
			$registry->register_field_type( $acf_field_type, $config );
		}
	);
}