Closed ansonphong closed 11 years ago
Hi Haidy, I was working with implementing pw_update_post() and I noticed that we should make it just like the wp_update_post() method and return the post ID - not the post Array / Object.
pw_update_post()
wp_update_post()
pw_update_post is already implemented and returns post_ID, could you please confirm?
$args = array('ID'=>13,'post_points'=>20); print_r(pw_update_post($args));
yes, affirmative.
Hi Haidy, I was working with implementing
pw_update_post()
and I noticed that we should make it just like thewp_update_post()
method and return the post ID - not the post Array / Object.