Home Forums ACF PRO acf/register_fields hook missing


acf/register_fields hook missing

  • Going through the process of testing and upgrading my plugins to work with the new version of ACF. In my plugins I use the hook “acf/register_fields” to call plugin functions to register field groups. It appears this hook is not in ACF-Pro. Is this intentional? Should I be changing my plugins to use a different hook?

    • Elliot

    • July 14, 2014 at 11:14 am

    Hi @hube2

    This action has changed to acf/include_fields to avoid ACF4 field types from being included in ACF5.
    I’ve just updated this doc to show the changed action:

    Sorry for the issue!


  • Thanks E for the quick response. I was wondering how I was going to alter some of the fields according to and have compatibility with both 4 & 5. This answers that question as well.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.