Home Forums Backend Issues (wp-admin) Registering child category when publishing a post


Registering child category when publishing a post

  • Hi there,
    I have a problem with categories.

    I have a custom post “shoes”, with advanced custom field.
    When creating a new “shoes” post, the user can chose a brand (radio button), Then he can enter a model filling a text input.

    The post are then filtered on the front end by brand or by brand AND model.

    What hook and actions could I use so that the value entered on the Model field is added as a child category of the selected brand?

    • Elliot

    • December 22, 2013 at 7:02 pm

    Hi @l.pirondini

    Please use the acf/save_post action to run any logic after ACF saves any values.
    You can read about this action on the documentation page.


Viewing 2 posts - 1 through 2 (of 2 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.