I have to update post categories on save. I use
add_action( 'save_post', 'saving' );
code, and inside the functions i tryed a lot of built-in wordpress functions such as:
Still nothing. After the page is reloaded, categories are always the same. Are there any other functions to set categories to a specified post on save?
- The topic ‘Change post categories on post saving’ is closed to new replies.