WordPress.org

Support

Support » How-To and Troubleshooting » Custom Post Type get taxonomy on save_post

Custom Post Type get taxonomy on save_post

  • Hi WordPress Community,

    I’m working with custom fields and custom taxonomies on a custom post type. What I want to do is to get the values from a custom taxonomy with $_POST, but can’t seem to find the right one.

    The taxonomy is called soort, it’s labeled with Soort and it’s hierarchical. Anybody know how I can get the $_POST of this taxonomy entry? And will it be an array?

    Thanks,
    Mitchell

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anyone have the magic solution?

    Hi Xevo, I am trying to get the add_action(save_{custom_post},{}) getting to work. But the code is not executed.

    Would you be so kind to pass your add_action and function to see what I am doing wrong?

    add_action('save_behandeling','save_hilta_behandeling');
    function save_hilta_behandeling( $postid ) {
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type get taxonomy on save_post’ is closed to new replies.