Support

Account

Home Forums Feature Requests Field to write into the_content & the_excerpt Reply To: Field to write into the_content & the_excerpt

  • This should work for you. Make the field name ‘the_content’. I am wrapping this up into a plugin and will also include the_excerpt, and featured_image.

    function hg_acf_save_content( $value, $post_id, $field )
    {
    	wp_update_post( array( 'ID' => $post_id, 'post_content' =>  $value ) );
    	return $value;
    }
    add_filter('acf/update_value/name=the_content', 'hg_acf_save_content', 10, 3);