You can do it by creating a hook for post_row_actions
filter. If your CPT is hierarchical post type use page_row_actions
filter.
add_filter( 'post_row_actions', 'wpse8170_row_actions', 10, 2 );
function wpse8170_row_actions( $actions, WP_Post $post ) {
if ( $post->post_type != 'my-custom-post-type' ) {
return $actions;
}
$actions['wpse8170-pdf'] = '<a href="http://your/url/here">PDF</a>';
return $actions;
}
Related Posts:
- Why does my custom taxonomy show a total count across all post types
- Add content in custom post type page after the title and before columns
- Add content before/after admin post wp-list-table
- WP_List_Table Inside Metabox Not Working on Submit
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- How to customize admin posts based on the user who is logged in
- Custom Taxonomy back-end customizations
- Filter term taxonomy metabox in custom post type
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- Grouping of CPTs and taxonomies into menu groups in admin
- Group based routing and administration
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Filtering a custom post type by custom taxonomy in archive template
- get term archive url / link
- Get term slug of current post
- Create a shortcode to display custom post types with a specific taxonomy
- List the categories under custom taxonomy
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- The Operator “NOT IN” Does Not Work In tax_query
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Populate Taxonomy from Custom Posts
- How to replicate some of Drupal Views functionality in WordPress?
- Show related posts on single page by custom taxonomy on custom post
- Exclude from search all custom posts which are NOT in a taxonomy term
- Sorting for each custom taxonomy
- How to get the parent’s taxonomy?
- Dynamic variable for custom taxonomy in loop?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- wp_insert_post custom taxonomy
- Get URL for specific post type and current tag
- Working with Next and Prev links in Single Taxonomy Templates
- Permalinks for custom post-types within custom taxonomies not found
- How to add a custom taxonomy to a custom post type’s document tab
- WP_Query search posts by custom post type and custom taxonomy
- get_queried_object error How to show post count by month in the taxonomy page
- Count posts with specific term_meta
- submenu item edit a specific post
- get_posts of Custom Post Type AND Custom Taxonomy
- Get posts by querying taxonomy and certain terms of the taxonomy?
- How to add a custom taxonomy to show up in a custom post type menu?
- Create template for taxonomy results limited by Custom Post Type
- Query Custom posts of same taxonomy as the post itself
- Selecting a post in Dashboard
- WordPress sort search results by custom order
- How can I made custom taxonomies relationship?
- How to start a new post with custom Taxonomies already set?
- How to change permalink to include custom post type
- Taxonomy/Custom post type structure suggestion on a movie site
- Listing all term items alphabetically / sorting loop
- Change the Custom Taxonomy URL Slug pattern
- Losing Nav Active State in Menu
- Different rewrite rules for taxonomies and cp in multisite?
- Custom Field values not Showing in Edit Page of Custom Post Type
- How to make WP_Query not to show irrelevant posts?
- Custom select query for taxonomies that have posts categorized in another taxonomy
- How to list tags from custom post type attachments?
- Custom Post Types Archives and Single Pages not showing custom taxonomy data
- How to setup a single post page for my custom post type?
- Implementing Pillar Posts; Long Posts yet with Some Page-Like Handling?
- Dynamically insert code to custom post type loop
- How to sort a WP_Query by a custom field AND ALSO filter by a different custom field
- Custom taxonomy template list not working (404)
- Link From Single Post To Taxonomy Term Archive Page
- Copy order items with metadata between orders – Woocommerce
- Print all the tags from a custom post type
- How to organize custom post type list by year?
- Issue with Custom Post Types and Single
- Add data to post edit page, when post is published
- does wp_insert_term link the term to a certain post ID?
- Calling related posts to a custom post type, taxonomy & Tag id
- Custom post type category permalinks and archive pages
- Better in the long run to use post date or custom taxonomy to sort/separate posts by year?
- How to create subdomain for custom post type and associated custom taxonomies
- add_filter get array data before display in custom post_type
- Custom endpoint filtering post by custom taxonomies
- Should I use a custom taxonomy or custom post type for grouping a list of panels associated with a group of tests?
- Define multiple prefixes for custom post type
- Add Custom Field in Product in WP Admin and send to Order Webhook
- Remove custom taxonamy slug with pagination
- Taxonomies are not showing in the category dropdown
- get_the_terms child terms for current post/custom post only
- Order archive custom posts by taxonomy term [duplicate]
- Custom Taxonomy – fields
- CPT Loop, include taxonomies and disclude others?
- Problem displaying posts for a category in a custom taxonomy
- Create Inclusions and exclusions
- Template hierarchy changes when custom post-type permalink leverages custom taxonomy
- Custom taxonomy- only output relevant terms
- Post types showing tables…Can I do that?
- Dropdown switching subcategories portfolio
- How to solve performance issue caused by custom post type overview with 20k+ custom taxonomy terms
- Prevent repetitive terms in get_the_term_list
- Displaying posts exclusively in their category (not parent)
- Show taxonomies from specific CPT
- Change the text on the Publish button
- Category / Custom Post Type permalink issue
- Loop through multiple custom taxonomy terms and display posts for a custom post type
- Advise on Custom Taxonomies and Structure
- Limit taxonomy terms added to a custom post type
- I want to understand plugin implementation of custom posts / taxonomies / metaboxes