This commit is contained in:
Filip Penkava
2017-02-27 12:39:59 +01:00
parent dfb99dd4b4
commit 82d8ae02df

View File

@@ -81,6 +81,10 @@ if ($obj['type'] == 'text') {
wp_delete_attachment($attachmentExist); wp_delete_attachment($attachmentExist);
} }
if ($taxonomyTag && !empty($taxonomyTag)) {
wp_set_post_tags($post_ID, $taxonomyTag);
}
$wpdb->insert( $wpdb->insert(
$wpdb->prefix . DB_TABLE_SYNC_POST, array( $wpdb->prefix . DB_TABLE_SYNC_POST, array(
'post_id' => $post_ID, 'post_id' => $post_ID,