Using publish_{custom-post-type} hook for custom post type to update meta doesn’t work
Related Posts:
- Create action running on trashed_post hook to modify post_meta value
- How to enqueue scripts on custom post add/edit pages?
- Unregister post type from child theme
- flush_rewrite_rules on save_post Does Not Work on First Post Save
- With what hook can I address all posts from all custom post types when they are published?
- What hook should be used to programmatically create a post only when master post is updated?
- How to register custom post types in a plugin?
- Remove “Get Shortlink” button in admin of custom post type
- update_post_meta() whenever custom post type is updated
- Can’t unregister parent theme’s CPT from my child theme
- Insert Multiple Post with Same Publish Button
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Filter Posts from the Main Query
- Using preg_replace to filter custom textarea
- Use remove_meta_box conditionally on custom post type
- wp_trash_post action hook with custom post type
- How do I amend form data before it is saved for a custom post type
- How can I get some of a posts meta data whilst it is still inserting?
- How to recover the post ID earlier in the WP admin hook action “firing” sequence?
- Using `set_transient()` when saving a custom post type
- How to store additional data that is related to core data
- do action inside a class is not working
- Add a post when another post type is inserting
- Update Post Meta for a logged in user
- Getting meta in editor plugin, and event triggering issue
- How to duplicate entire custom post type
- A better way to add a meta box to custom post types
- Restrict Access to Posts based on Custom User and Post Meta Data
- Two Custom Post Types Many to Many Relationship
- get_post_meta not working on publishing
- Should wp_postmeta meta_key always be unique for a given post_id?
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- How do I add a custom screen for a custom post type to be called from custom post row action?
- Custom post type suppress transition from future to publish
- how can I register a post_meta field in an existing CPT and then call it again with get_post_custom()?
- get_post_meta returning no value in custom post type alert email
- post meta parameter in post custom-post-type endpoint with restapi
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- Limit number of custom posts per taxonomy
- Update postmeta Parent when post_status child change
- Metabox not show in categories custom post type cmb2
- WordPress request fiter order by related post’s post_title
- Update database from Quick Edit according to Checkbox state of Custom Post Type
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Storing a many to many post type relationship in post meta and keeping SQL ability for Joins
- Dynamic Custom Fields
- Show Custom Post Type meta boxes only on Page Edit
- Custom filter function not working with Custom post type
- Importing Data from a Non-WordPress database, into WP
- Getting thumbnails of a custom posts featured images in a page-templates metabox
- List Taxonomies: Don’t list taxonomy if it has no post – depending on custom post-meta?
- Remove Post Custom Meta Box
- Can’t publish custom post type – “You are not allowed to edit this post.”
- Custom fields for custom post type
- Show future events based on custom field AND order by date
- Categorise Custom Post Types
- Meta Data for Custom Post Type not saving
- How can I add a filter to a particular post format?
- Is there any way to get list of all possible filter hooks for all post types?
- Check if post with same meta value exists
- Filter date from post meta when date is in string format
- Create new custom post and post category of same name
- Add a custom text to admin footer in a Custom Post Type page
- Get only used meta_values
- If Post Meta Equals Current Title Conditional Advanced Custom Fields
- Is there a way to exclude posts based on meta_values?
- Get rid of “trash can” for custom post type
- Do posts, pages and / or custom post type objects have unique ID numbers or can there be multiple objects with the same IDs?
- Archieve.php not loading for custom post type
- Submitting Custom Post Types with custom fields from Front-end form
- create custom meta box with default value
- Get $post->ID from a URL
- Displaying a div from an assigned meta_value when on a page
- Meta data (Tags and Categories) for Custom Posts not showing.
- Custom Meta fields Update hook?
- Display different information of a custom post type
- Include php on a specific page template
- Create Array from custom post type to display a slider
- Setting Post Title via Meta Data returns Auto-draft
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- Filter posts by tax (dropdown) and meta value
- delete_post_meta() for whole CPT / multiple posts?
- Add an Outside Wrapper to my Header and Make it Full Width
- How to get specific post meta by title or id
- Publish and save specific postmeta to a filtered post_type
- What do the numbers mean at the end of add_action(‘save_post’)…?
- Running a wordpress action when a custom post type term (taxonomy category) is changed
- How to move a post to different post type with all meta data?
- Why do I have to press the “Update” button twice to save my meta box values?
- How can I display a drop-down select of Post Names
- how to show records that don’t have custom meta value
- sortable columns for multiple custom post types not working
- How check if a post is saved from backend or frontend?
- WP API Response does not show my registered metadata
- How to detect that the save_post hook is calling the callback associated to the current edit post page only
- $post->post_meta not pulling any post in wordpress/php
- Values from meta-box not on $_POST
- How to build a WordPress post review system beside commenting
- WP_Query of custom post type sorted by meta_key has unexpected results