PHP 7.4.33
Preview: access-functions.php Size: 418 B
/var/www/nea-dev.wpress.dk/httpdocs/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 );
		}
	);
}

Directory Contents

Dirs: 3 × Files: 10
Name Size Perms Modified Actions
build DIR
- drwxrwxr-x 2024-09-06 15:09:58
Edit Download
src DIR
- drwxrwxr-x 2024-09-06 15:09:58
Edit Download
vendor DIR
- drwxrwxr-x 2024-09-06 15:09:58
Edit Download
610 B lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
418 B lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
6 B lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
11.04 KB lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
6 B lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
2.42 KB lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
34.33 KB lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
11.06 KB lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
388 B lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
2.23 KB lrwxrwxr-x 2024-09-06 15:09:58
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).