wp_update_post() not working
I want to update post content via third party plugin but it don’t work for me I don’t know why. My code is:
$new_content = array(
‘ID’ => $post_id,
‘post_content’ => $article
wp_update_post( $new_content );
This code is inside function which is inside a class
- The topic ‘wp_update_post() not working’ is closed to new replies.