help .. how to update post and clear purchase note?
-
//by press button user create copy of product;
wp_update_post(
array(
‘ID’ => intval( $clone_product_id ),
‘post_title’ => $product->get_title(),
// ‘post_status’ => $product_status,
‘post_author’ => $user_id,
‘post_status’ => ‘trash’,‘purchase_note’ => ”, – THIS NOT WORKING
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘help .. how to update post and clear purchase note?’ is closed to new replies.