• Resolved philoweb

    (@philoweb)


    Good morning,
    I searched without success how to automatically create an ACF category that I use on each of my sites. Do you have a specific function or do we have to go through native WP functions? I’m open to any leads. THANKS

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Are you talking about the acf-field-group-category taxonomy registered by ACF Extended allowing to set categories to ACF Field Groups? (See documentation).

    If that’s the case, then this taxonomy is registered and acts like any WP Taxonomy. You should be able to add a term programmatically using the native function wp_insert_term() (See documentation). There is no specific way to add a term with ACF Extended, as the native WP function already fulfill that purpose.

    Note that if you export an ACF Field Group with a “Category” assigned, and import it on an another website, the “Category” term will be automatically created (if it doesn’t exist) during the import.

    I hope this answer your question.

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto-register ACF category’ is closed to new replies.