WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type get taxonomy on save_post (3 posts)

  1. Xevo
    Member
    Posted 4 years ago #

    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

  2. Xevo
    Member
    Posted 4 years ago #

    Anyone have the magic solution?

  3. opicron
    Member
    Posted 3 years ago #

    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 ) {
    }

Topic Closed

This topic has been closed to new replies.

About this Topic