• Hi !

    I am registering my ACF fields with PHP using the acf_add_local_field_group function.

    Is it possible to manage your plugin options in PHP ?

    I tried things like :

            acf_add_local_field_group([
    'key' => 'book_fields',
    'title' => 'Book infos'
    'fields' => [
    [
    'key' => 'field_identifier',
    'label' => 'Identifier',
    'name' => 'identifier',
    'type' => 'text',
    'admin_column' => true,
    ],
    //....

    I also tried 'admin_column_enabled' => true, 'admin_column_enabled' => 1,, etc. but it did not work.

    If it’s possible, could you explain how to do it please ? Cheers

The topic ‘Manage with PHP’ is closed to new replies.