Extended ACF Video Tutorial
Extended ACF is a library that will allow you to generate your ACF fields in the blink of an eye thanks to a declarative system.
if (! function_exists ('register_extended_field_group')) {
return;
}
register_extended_field_group ((
'title' => 'Article block',
'location' => (
WordPlate Acf Location :: if ('post_type', 'post')
),
'fields' => (
WordPlate Acf Fields Tab :: make (__ ('First tab', 'montheme')) -> placement ('left'),
WordPlate Acf Fields Text :: make ('Price', 'price') -> required (),
WordPlate Acf Fields Tab :: make ('Second tab'),
WordPlate Acf Fields Wysiwyg :: make ('Content', 'content'),
WordPlate Acf Fields TrueFalse :: make ('Highlight', 'featured') -> stylisedUi ('Yes', 'No')
)
));