How to update guid for post
-
Hello,
I wanted to change the guid value for post id ’12’.
so i tried update guid value using wp_update_post();
Ex: updateArgument = array(‘ID’=>’12’,’guid’=>’new_format_url_value’);
wp_update_post($updateArgument);
but it is not updated with given guid value.
Even i don’t get the wp_error message also.
Could anyone guide me update guid value for the post?
Thanks
- The topic ‘How to update guid for post’ is closed to new replies.