WordPress.org

Ready to get started?Download WordPress

Forums

Media Categories
[resolved] Update Post Meta (2 posts)

  1. ghostpool
    Member
    Posted 1 year ago #

    Is it possible to automatically update an attachment with a post category e.g.

    update_post_meta($attachment_id, 'META_NAME', true);

    I'm not sure what the meta field name is though, any help is appreciated.

    http://wordpress.org/extend/plugins/media-categories-2/

  2. Eddie Moya
    Member
    Plugin Author

    Posted 1 year ago #

    This is core WordPress functionality.

    See: http://codex.wordpress.org/Function_Reference/wp_set_post_terms

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic