Yes there is some sort of hook for this: manage_posts_custom_column
Pseudo code:
function my_cpt_custom_column( $column ) {
global $post;
if ( 'my_cpt' == get_post_type( $post ) ) {
switch ( $column ) {
case 'title':
// do stuff with $post->post_title
echo $post->post_title;
break;
case 'some-other-heading':
// do stuff
break;
}
}
}
add_action( 'manage_posts_custom_column', 'my_cpt_custom_column' );
Related Posts:
- Pagination not working with custom loop
- WordPress 3.3 custom post type with /%postname%/ permastruct?
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- Breadcrumbs with Custom Post Types?
- order by meta_value serialized array
- bulk Update post_meta with default values
- Running a function on post content and CPT meta
- Get the post_type of current taxonomy or category page
- Output the slug and name of a CPT single post taxonomy term
- Slug for standard post post_type
- WordPress custom post type archive with description
- Custom post types – show specific posts
- Paginate_links links not working accordingly to how I do query the page
- Updating post title using wp_update_post
- Remove parent from custom post type
- Add nonexisting pages to navigation
- Associate custom post types with normal posts
- Troubles with making a custom template for posts
- Custom Post Type and Labels
- related posts – pulling tags from a specific post type
- WP 3.0.5 – Custom posts matching 2 taxonomies
- Custom Post Type Loop within Shortcode
- How to add post_type=value when editing that post type in the WordPress admin?
- Change archive page template using pre_get_post
- Force documents to appear in Featured Image dialogue
- hide a certain custom field
- Custom post type redirected to homepage – how to debug
- Query with no terms uses index.php template instead of archive.php
- Sort by alphabetical order archive.php page
- custom taxonamy and post type
- Custom post type archive page – Posts overview – with one modal for multiple posts?
- Getting categories of posts under a custom taxonomy
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Custom Post Fields at the beginning of a Custom Permalink
- Add term to custom post type on draft
- When an unregistered user submits a form for a custom post type, send an email that lets them delete their post
- Multiple tag cloud filtering
- Custom Post Type Category Link
- get_page_by_title() doesn’t retrieve my post
- Show all tags on custom post type
- Specifying meta field’s column type in Database using add_post_meta
- show custom value from frontend form in a post (custom post type)
- Front end access to a SQL data repository – recommended way?
- get_the_tag_list() returns bad links
- Merge page with custom post type
- FacetWP paging custom wp_query
- why post_class() function apply css classes to all other files?
- Looping Through Categories of a CPT
- What is the diference between Post Metadata and Queried Object
- custom post type make featured image box full width
- Cannot get custom posts by category
- Search for dates on custom post types
- Convert Custom Table Data Based Plugin To Be Searchable
- Why the_excerpt() function returns excerpt on the Home page and trimmed content in sidebar?
- list posts of two post types in a single template
- Multiple post types for BuddyBlog plugin [closed]
- Sets post_parent in custom post type posts automatically based on cpt->page name
- How to filter Multiple taxonomies with radio buttons
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- Restrict access to custom post type based on its taxonomy terms
- Custom rewrite rule based on other custom post type title
- Sort custom posts by date and then by taxonomy
- Sending current featured image to email
- Display CPT Category List as Shortcode
- Custom post type sortable columns when column value is from a custom database value
- Correct way adding External classes to Custom Post type and output their methods to template
- Linking WordPress Post Types to Another
- Assign a Post to a User
- Migration in new Custom-Post-Type-Structure
- How to Disable option of meta field if that option is selected for any other post in custom post type?
- Custom Archive – hide posts until a search is made?
- Use WP pagination functions on a custom page template
- is using “require_once” in wordpress theme affect the speed ???
- How can I save a Custom Post Title and Slug with a Custom Field?
- Custom Template for CPT Categories
- How to redirect CPT permalinks from ID to default pretty permalinks?
- How to implement custom post type’s users
- Generating excerpts from a custom post type to display in a Widget
- Do not output category and tag URLs
- Custom Taxonomies in body class with parent slug
- Multiple archives for cpt, taxonomies, terms
- Changing some of the language within the revision viewer admin page revision.php
- How to pass taxonomy terms to WP_Query along with $args?
- Show all post of a taxonomy with one specific term not working
- Custom post type URL returns 404 error page
- Programmatically Split A Post Into Multiple Pages
- Thumbnails for custom post not showing up in query
- custom post types, pre_get_posts, wp_list_categories
- Page template anomaly
- Structure of custom post type / taxonomy?
- Notices when submitting custom post type from front-end
- Issue On Listing Woocommerce Parent Tag List
- show custom post’s post in two different divs [duplicate]
- Creating post custom field text area
- querying to custom field over ACF REST API
- Fatal Error WordPress Custom Post Type UI + WPML
- is therer any wordpress function to retrieve a specific html element from post content
- How to rewrite custom slugs that follow my rules
- Problem with shortcode