Skip to content

Instantly share code, notes, and snippets.

View TudorSfatosu's full-sized avatar
☢️

Chris Tudor TudorSfatosu

☢️
View GitHub Profile
@TudorSfatosu
TudorSfatosu / acf-blocks.php
Created October 12, 2022 12:00 — forked from n7studios/acf-blocks.php
Advanced Custom Fields: Registering Custom Gutenberg Blocks
<?php
/**
* Plugin Name: Advanced Custom Fields: Gutenberg Blocks
* Plugin URI: https://www.n7studios.co.uk
* Version: 1.0.0
* Author: n7 Studios
* Author URI: https://www.n7studios.co.uk
* Description: Example code to register Advanced Custom Field Groups as Blocks. Requires ACF 5.8+
*/