You need to get the term object first.
//Your meta field
$post_custom_title = get_post_meta($post_id,'car_name',true);
//Get the term object by id. change taxonomy_slug to the taxonomy you intend to use
$term = get_term_by( 'id', $post_custom_title, 'taxonomy_slug' );
//Retrive the term name and use it as post title
$term_name = $term->name;
//call the wp_update_post function setting $term_name as the post title.
Just curious, why would you want to set a common title for all those posts belonging in the same term?
Related Posts:
- Getting custom taxonomy from custom post type
- clients list using wordpress
- Custom Taxonomies Terms as Post Title for Custom Post Types upon Publishing
- Find callback function for custom taxonomy metabox
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Limiting number of custom posts shown on taxonomy page
- get terms that have post with custom post type between 2 values
- Append taxonomy terms as class names in markup?
- Show ACF field from custom taxonomy and display on the single template
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- Linking three taxonomies with ACF
- Get Custom Field Values by Another Custom Field in WordPress
- Custom Post Types relationships
- Create 3 Level Relations with ACF and WordPress
- Insert HTML inside link in a walker
- Custom Taxonomy Permalinks Redirection
- Remove standard meta boxes from custom taxonomy
- get_posts of Custom Post Type AND Custom Taxonomy
- Retrieve value of a category’s custom field
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- Query taxonomy of taxonomy of custom post type
- How to rewrite url for any specific taxonomy?
- CPT archive admin menu label
- Query Custom Post Type Taxonomy term with multiple parameters
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- How to change permalink to include custom post type
- How to group posts and get a mixed posts and groups view?
- Add term to custom post type on draft
- How to set the seo title tag on a page by page basis?
- Different Category system needed for the Custom Post Type
- How to inherit field value from parent post into in child / sub post
- Create short URL with auto 301 redirect
- How to define the template for custom posts?
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- Add the custom post term to the custom post title
- Excerpt length: get first paragraph
- Auto Generate Post Title from 2 Custom Fields
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- ACF – Retrieve custom taxonomy from a relationship field
- How to divide Subcategories into pages of parent category wordpress
- how to achieve this permalink abc.com/CPTName/CustomPostTypeCategorySlug/categoryname
- Custom front-end form for adding post – Category problem
- set object terms after some some time of published post – functions.php
- Create loop from selected terms in ACF taxonomy field
- update custom taxonomy custom fields
- Sort custom posts by date and then by taxonomy
- Check that a slug is present in the get_terms request
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Assigning categories to custom post types via a front-end form; only works for native post type
- Display Custom Field or Custom Taxonomy in front page /post/product
- CPT tags not showing when editing post
- WP_Query not using custom taxonomy categories on custom post type
- If ACF Post Object post has custom taxonomy term…
- Some posts not displaying by taxonomy term
- Taxonomy shows up twice on Custom Post Type
- How to display custom post type pagination buttons when processing AJAX request
- Change Search display for Custom Post Type
- Recovering data about custom post and taxonomy types
- Display custom tax in “while” loop
- wordpress does not see the correct custom taxonomy hierarchy
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- Best way to have one product in both rental and sale parent category
- Post Custom & Taxonomy 404 error
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Pagination fault in custom post type archive page [duplicate]
- Set the Title of a Custom Post Type by code as Author’s Username
- How to query posts by meta keys AND under specific category?
- How to query the content of a specific custom post type?
- Advanced Custom Fields: query posts filtered by multiple field values
- Register a title automatically with a relationship field
- Custom Loop for custom post type. Compare by meta_value?
- Invalid Taxonomy in template
- ACF Relationship: Group posts by parent category term, then child [closed]
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- How to I add count of custom posts listed in a post as a prefix to its title
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- Custom taxonomy meta fields
- How to use wp_set_object_terms depending on page ID?
- Is it possible to use a post name in a custom post slug?
- Custom Sort Order for Custom Post Type Taxonomy
- How to hook into the CPT’s title placeholder?
- Permalink rewrite with custom post type and custom taxonomy
- Using pre_get_posts to Filter Posts
- get_categories() for only CPT
- Custom Post Custom Taxonomy Data Not Saving in Edit Screen
- Query custom post type with ACF Date
- display posts of custom post type with custom taxonomy
- How to show custom posts
- How do I find out which (page) template file my custom child post is looking for?
- Custom Post Taxonomy Template Not Loading Properly
- Exclude Posts in a Given Category
- Front page url permalink
- How is it possible to list custom post types by “category” like with simple posts?