Support » Plugins and Hacks » How to append category to post when it is published?

  • hello

    Any idea how to automaticallly append category to post when its status iss changed from draft to published? category should be attached to post only if post author id is ‘3’

    I know (i suppose) that i should use some:

    add_action(‘publish_post’, callback_func’);

    but how should look callback_func()?

  • The topic ‘How to append category to post when it is published?’ is closed to new replies.