Support » Fixing WordPress » Saving Form Fields for Taxonomies

  • I am using

    add_action( 'ytgallery_edit_form_fields' , 'ibew_edit_taxonomy_fields' );

    which uses the ${taxonomy}_edit_form_fields hook to add a new meta box for my custom post type taxonomy (Called Video Gallery). I want to save this data, how abouts do I do this? I know the hook is edit_${taxonomy} but I don’t see a way to save this data.

    Any ideas?

Viewing 1 replies (of 1 total)
  • I don’t know what form you are using exactly but I made a form before that updated taxonomies using set post terms:

    `wp_set_post_terms( $postid, $taxonomy, ‘taxonomy’);’

    And from there would take the variable (or array) from the form input for $taxonomy. Don’t know if those term function could help.

Viewing 1 replies (of 1 total)
  • The topic ‘Saving Form Fields for Taxonomies’ is closed to new replies.