WordPress.org

Ready to get started?Download WordPress

Forums

Using update_post_meta to update a Category custom field (1 post)

  1. Mainguy
    Member
    Posted 2 years ago #

    Hi,

    I'm using Advanced Custom Fields to add a custom field to categories. I want to update the value of this custom field from the front end.

    I was able to do this easily for a post with the "update_post_meta" function, but this function doesn't seem to work with categories, even tough I'm using the correct ID for the category.

    Any ideas to update a category's custom field from the front-end?

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic