You can use the the acf/save_post
action to copy the content from your
custom ‘full_text’ field over to the normal post content field, so it can automatically be accessed by toc+ and other plugins.
add_action( 'acf/save_post', 'wpse199256', 20 );
function wpse199256( $post_ID ) {
global $wpdb;
$post = get_post( $post_ID );
$wpdb->update( $wpdb->posts, array( 'post_content' => get_field( 'full_text', $post_ID ), array( 'ID' => $post_id ) );
}
Depending on how you use your CPT this will lead to some templates etc. having to be adapted, if they were outputting the content field (which was empty until now).
Related Posts:
- Adding Template Post Content
- How to display value of custom fields in page
- Where are wordpress custom types stored?
- Possible to turn off autosave for single custom post type
- Using meta_query, how can i filter by a custom field and order by another one?
- Truncating custom fields
- Filtering a WP_Query meta_query by numeric values isn’t working
- manage posts custom column is not populating data from meta boxes
- Create child page within custom post type
- How Can I save multiple records in same meta key?
- Getting Bootstrap accordion working in WordPress loop with custom post type (collapsing issue)
- Custom post type or just use custom fields
- set and unset the custom field value
- How to programatically set the post title of a CPT on wp-admin
- How to Sort by Date When Using d-m-Y Format
- Metabox saving values
- WP insert post PHP function dynamically generated Custom Fields
- update custom post type meta from a shortcode
- Multiple information using custom post type
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- How to add custom fields to admin UI and REST API response?
- ACF Upload Image in repeater from front-end with custom form? – add_post_meta()
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- Before Delete Post
- Display custom post on home page based on a metabox selection
- Sort posts based on multiple custom fields
- Related links – from other sites
- 1 day after custom date change post status to draft
- Filtering by Post Meta Custom Fields – Performance
- WP Query—Relationship between two custom post types and their fields
- Why do I lose the content of meta boxes when I leave the page?
- Remove wrong dashes from get_the_title()
- Plugin for custom posts and fields [closed]
- Populate Custom Fields in a Custom Post Type?
- How to change post featured image using a custom field of category?
- Returning a list of custom post types excluding those without a specific meta_value
- How to check if user meta field is empty in conditional else statement
- How to stick custom post at the top in search results
- Custom post type content using custom fields without template
- WP_Query order by custom field, then randomly order some of results
- Plugin – Combine Meta Box Input Fields into single saveble record
- Callback to custom field is not working in WordPress REST API
- How to render a custom post type template with custom fields using shortcode
- How to handle a CSV with 65,000+ rows and make it searchable?
- Get Posts by multiple custom fields is not working
- Cannot save CPT meta box
- custom comments form for custom post type
- Custom post type’s extra fields – how to handle?
- Enable Custom Fields For Custom Post Type When CPT Created Using Plugin
- Submitting Custom Post Types with custom fields from Front-end form
- post_per_page ignored in WP_Query
- finding and using post type fields in WordPress
- Sort custom post type by most current date picker
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Remove default WYSIWYG editor without removing custom fields editors
- Display custom post type for specific user
- Display custom meta on page that has been check in custom post type
- How do I update_post_meta() or add_post_meta() with an AJAX call
- Filtering Custom Post Type by Comparing Date and Two Meta Keys
- How to prevent meta data from being edited in a post?
- Automatically add a character to field in edit post page
- Change Post Meta via AJAX from the posts list table
- How to keep a record of changes to a custom field?
- Making a form for user to add new custom post with custom taxonomies and custom fields
- Saving metabox keys and storing values as array
- Mandatory field in Custom post
- Update value inside array update_post_meta
- WP query_posts group by meta field related
- How to store the third party script with HTML code in the wordpress custom input field?
- WP Query from two Custom Post type fields as statement
- How To Read Read Custom Post Type Data in Headless CMS Mode
- Filter custom post type admin list by custom meta column, where the column is another custom posts meta value
- How to upload an image to a custom post type
- How to display custom field in product description?
- when looping through custom post data not appearing
- Add custom template ‘sub-page’ to Custom Post type?
- Where is get_post_meta value located?
- Adding a Section for Visitors
- Automatic Set Category For A Custom Post Type
- Confused about where to store my data
- Sort loop by custom field from different post type
- Meta_query by date for Events archive
- WordPress loop, show only one post per custom field
- How to get past and upcoming post by defining date in custom field?
- Selecting posts older than the current Unix epoch timestamp
- display some fields in custom post backend
- Forms with multiple element types using custom post types
- How to display Multi Checkbos select Custom Field on the post?
- custom field suit new post with in custom fields
- Customizing the display of custom post types
- Display custom posts in checkbox list
- Display posts order by custom post in a dropdown menu
- Query recent posts by author
- Textarea type on one field custom add_meta_box?
- Extending a CPT by Created by another plugin
- What is the most efficient way to manage changes my product comparison tables?
- Adding a custom “Add Custom Field” button to Custom Meta boxes
- How to change order of custom post types. I want Featured post to come first
- Good practical way to do loop within loop to show child custom type using a template code
- How to display *block number* instead *date value* on WordPress posts?