Title: ACF e post_content
Last modified: January 30, 2017

---

# ACF e post_content

 *  [gregorgregor](https://wordpress.org/support/users/gregorgregor/)
 * (@gregorgregor)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/acf-e-post_content/)
 * Hi
    Hi, I created custom fields with ACF. I would like to save these fields in
   the database, the content of the post (POST_CONTENT). I created the code, but
   to display the custom fields, I always have to make the page refresh.
 *     ```
       <?php 
       	if ( get_field('descrizione') ) {
         $postid = get_queried_object_id();
   
         $my_post = array(
             'ID'           => $postid,
             'post_content' => get_field('descrizione'),
         );
   
         wp_update_post( $my_post ); } ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/acf-e-post_content/#post-8714926)
 * I recommend asking at [https://support.advancedcustomfields.com/](https://support.advancedcustomfields.com/)
   so the plugin’s developers and support community can help you with this.

Viewing 1 replies (of 1 total)

The topic ‘ACF e post_content’ is closed to new replies.

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [post_content](https://wordpress.org/support/topic-tag/post_content/)
 * [the_content](https://wordpress.org/support/topic-tag/the_content/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/acf-e-post_content/#post-8714926)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
