Advanced Custom Fields
Created custom field type in group not showing. (1 post)

  1. Dvd709
    Posted 1 year ago #

    Hi guys,

    I made a custom field type in a group but it's not showing at all.

    This is my code:

    This is what I added to my functions.php:

    function my_register_fields() {
    add_action('advanced-custom-fields/register_fields', 'my_register_fields');

    Now what I should mention is that my acf file is named advanced-custom-fields, that it's in my plugins folder and that I have the file acf-hidden-field.php in the same folder as the rest of the standard field type's such as text.php.

    I hope anyone can tell me why it doesn't even show up in the Basic field group let alone it working or not.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic