Use this to filter the title:
add_action(
'admin_head-edit.php',
'wpse264139_edit_post_change_title_in_list'
);
function wpse264139_edit_post_change_title_in_list() {
add_filter(
'the_title',
'wpse264139_construct_new_title',
100,
2
);
}`
`function wpse264139_construct_new_title( $title, $id ) {
if(get_post_type($id) == 'post_type') {
$field = get_field('place', $id);
return $field . " " . $title;
}
else {
return $title;
}
}
NOTE: most of the code came from: Replacing the title in admin list table
Related Posts:
- How can I add a column in the wp_list_table of the admin area?
- sortable columns for multiple custom post types not working
- Change column of row action (Quick Edit) links in WP_List_Table
- Change “Enter Title Here” help text on a custom post type
- Load a script just to custom post type in admin
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Customize Edit Post screen for Custom Post Types?
- Filter by custom field in custom post type on admin page
- Showing User’s Post Counts by Custom Post Type in the Admin’s User List?
- Merge two custom post types into one admin page?
- Remove the “View” Link in Post Admin
- Multiple custom post types under one admin menu
- How can I change the admin search posts fields?
- How do I get a post (page or CPT) ID from a title or slug?
- Limit the word count in the post title
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- How To Remove These Stuffs From Custom Post Type List Screen?
- Is there a way to override the tag specified in header.php?
- Sort custom post type list table by display name of a user id stored as post meta value
- Why does my custom taxonomy show a total count across all post types
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Custom Postype specific changes in admin panel
- Custom Meta Title for Custom Post Type
- How to set the seo title tag on a page by page basis?
- Add the post type to the title of the page
- How to sort posts in a custom post type by title in ascending order by default?
- Custom post type isn’t working
- Add a ‘guide’ image to custom post type admin page
- Use remove_meta_box conditionally on custom post type
- New “Custom Types” item in admin menu. Is this a plugin or a new wordpress feature?
- Programatically inserted posts not showing in Posts Table
- Custom meta Title for custom post type archive from page
- How to group navigation items in the admin panel
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- How to check if post/page or taxonomy post is published by admin
- Getting all ID’s matching a title in a custom post type
- Linking to Post Types from wp-admin
- Plugin or method of allowing user to rearrange custom post types with drag and drop?
- Address as a content type post
- CPT Columns doesn’t show categories
- Insert Custom Post Types
- Custom Post Type – Support “author” only for admins
- Showing User’s Post Counts by Custom Post Type in the Author.php?
- How to add query args to links to CPT admin submenu
- Add ‘page template’ column to dashboard for CPTs
- Sanitize title only if only custom post type
- Odd behaviour for the update button when displaying a WP_List_Table
- Filter posts of custom post type by meta key in (List All Section)
- get_post_types not working properly in admin
- Add the custom post term to the custom post title
- Is there a hook between clicking on “Add new” and the edit screen of a new post?
- Require custom post type if is_admin() – template doesn’t show up?
- Function to add custom HTML into head in custom post-type list page
- Multiple custom post types on same admin page
- using the loop in custom meta is messing up ‘add new’ post type
- How to create a master without relying on posts table
- WordPress admin for a custom post, hide/collapse the main “title” and “description” boxes
- Auto Generate Post Title from 2 Custom Fields
- Metaboxes inside Tab
- How can I put content before my custom post type default pages?
- How to customize custom post type’s list table?
- Clone wp-admin/users.php (Users Admin Page)
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Is there any filter to add a custom attribute to the tag in admin panel?
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- How to select meta key in custom database query
- Issue removing columns from admin table
- Want to add new label in new post
- How to hide private posts even if user is admin
- WP_List_Table Inside Metabox Not Working on Clicking Search Button
- Adding orderby url parameter to main CPT admin menu link
- Help Adding filter to Add Media button for custom post type
- filter the title changed also the page titles
- Delete all custom posts then upload a new CSV of events
- Pagination in wp-admin for CPT
- Create an administation subpage containing posts in a certain category
- Error [Column ‘post_title’ cannot be null] when title is disabled for Custom post type
- How to disable Publish button on Edit post if post title exists
- Custom post type doesn’t display on admin list
- Customising the admin columns for a custom post type, but now most of the built in categories don’t display?
- Shared Custom post type between WP network sites
- Set the Title of a Custom Post Type by code as Author’s Username
- Exclude categories For Custom post types
- Admin menu post type
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Redirect preview single post link to a page
- Custom Post Type Causing Admin Sidebar UI Issue
- How to change the default orderby from “Date” to e.g. “Title” or my custom column in content type records list in admin?
- Collection of fields in a single post
- Show all post types in the same table of posts [duplicate]
- Register a title automatically with a relationship field
- Prevent users from changing post status
- Display read only info on admin, custom post page
- Custom Plugin w/ Custom Post Types – Custom Posts Are Showing at all Privilege Levels – Is this possible to adjust?
- Custom post type split title, setup permalink accordingly
- How to set the Screen Options for Users in the Admin Panel?
- Issue displaying multiple TinyMCE editors with WPAlchemy
- Admin menu link with variable
- How to set up a private custom post type that is accessible in the administrative dashboard?