Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19373, comment 48


Ignore:
Timestamp:
04/12/2019 08:55:09 AM (6 years ago)
Author:
kevinwhoffman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19373, comment 48

    initial v1  
    44
    55{{{#!php
     6$post_id = $this->save( $post_array );
     7
    68foreach( $post_array['tax_input'] as $taxonomy => $terms ) {
    79        wp_set_post_terms( $post_id, $terms, $taxonomy  );