Hook into the post status transitions and copy the post title to your secondary field. See documentation:
https://codex.wordpress.org/Post_Status_Transitions#transition_post_status_Hook
Related Posts:
- How to add a theme custom variable to a post title?
- Title and post URL based on custom fields?
- Split the_title
- How can I modify RSS item titles to be either the title or a custom meta field?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- How to I make my post title link to a custom field
- Best way to achieve multiple links in a post title
- automatically add custom fields to post title
- Decouple page name from page title
- WP Query Args – search by meta_key or title
- WP_Query – Order results by meta value
- Custom query with orderby meta_value of custom field
- Orderby meta_value only returns posts that have existing meta_key
- How to enable revisions for post meta data?
- Any way to add custom options to Gallery Settings?
- Including custom fields in search?
- How to display all custom fields associated with a post?
- Sort posts by custom field numeric value using dropdown
- How to position a custom field before the editor
- How can I display all values of a custom field from posts with a certain value of another custom field or from certain post types?
- passing argument to get_template_part() or a better way to code
- searching in custom meta field
- How to add upload field in a custom taxonomy?
- Display thumbnail from custom field
- Bulk move (or copy) from a custom field to the post content?
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- Getting Custom Field data from a page hierarchy
- Custom contact form 7 select with custom values [closed]
- limit amount of photos uploaded per cpt post
- Problem with adding exta field in metabox in custom post type
- Move value of one custom field to another
- little help with a mySQL query to wp database
- Add WYSIWYG to Image Description field
- How do I query for a post by custom field?
- Including Database Generated Pages in Site Search [closed]
- Calling custom profile fields?
- Show ACF fields only on certain page in the backend
- How to save media files under custom folder without changing wp-config.php or changing media settings
- Performance of storing multiple meta fields vs one JSON encoded field [duplicate]
- get_posts that match a user-specified value on a page
- Create Multiple File Upload Metabox in WordPress
- WP_User_Query pulling ACF to loop
- how to put a custom field value in variable
- Custom Metabox Not Saving
- How to add image attachment to post from a single meta key (Woocommerce)
- Advanced Custom Fields dynamic update_field
- Custom Profile Fields move from BBpress to BuddyPress
- How can I output a list of values for a custom field, and posts with those values?
- Manipulate javascript code from custom made admin page menu
- Add additional ‘description’ field for defined roles / role metadata?
- Change the main loop WordPress impact on the server?
- How to get categories with posts by custom field value?
- Meta Query returns wrong number of posts
- How to hide a custom field if there is not a value
- Display Custom Field for a Specific Role, but not for Admin
- Walker class for sub-menu with ACF fields
- Display custom field value part by part?
- Add custom fields to existing posts (admin pages)
- Multiple instances of TinyMCE are removing tag
- Echo the custom field value from the latest post from the ‘video’ post format?
- How do i get the attached images with custom value checked?
- How to disable Edit Post and Allow only Custom Field?
- Convert attachment ID into url?
- How to query an out put value?
- Cannot save underscore custom fields in one wordpress installation using xmlrpc and underscores
- Retrive Image URL of Custom Fields in Theme
- Custom Fields Question
- do_shortcode close
- How do I convert all custom_field php timestamps in the database to js timestamps?
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- Display custom field value as a mailto: link
- wordpress get_post_meta / the_meta to output custom field value
- Make separate text boxes for separate WordPress Custom Fields
- How to add a post’s view count into the WordPress API response
- How can I ‘check’ the “custom fields” box from the Screen Options?
- WP meta_query args not working in function
- Line break description wordpress
- How to get all wp_posts in wordpress fetched from database
- Update custom field on the fly
- Custom field disappeared from screen options
- Custom Fields Permalink Plugin not observing hyphens
- will wp_insert_post write a new custom field to the database?
- Contact Form 7 List Building
- How to repeate custom field group with bulk image field
- ACF – Compare user and post data
- Advanced Custom Fields deleting some code and adding code for a slider
- How to format the various types of custom fields?
- Extra text’n’image field in a page
- Get first URL from custom field, download and set as featured image on post publish
- Query postmeta values, and return multiple post_titles for common meta value
- Custom field in title
- How to add an option to admin to add image that could be used as header?
- How to query posts that have certain post meta keys, and sort by meta key and/or value
- sort a custom field base on the date or anything
- Add image custom attribute [closed]
- Retrieving custom field as shortcode
- Foreach giving one too many list items, how can I remove the last empty line?
- I used a custom field for header image and can’t get it to show up on posts
- Add custom fields to specific menus
- Conditional display based on ACF checkbox