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
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Is it possible to have dedicated page for parent/child taxonomy?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Can a Custom Taxonomy be named “category” like normal Posts?
- How to use terms from the same custom taxonomy in different roles in a custom post type?
- How to have the same url structure for both a CPT and a Taxonomy?
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- How do I display the taxonomy term alongside the post type post title?
- Display custom post type category, while in a CPT category, then the posts beneath
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- Hide parent categories when clicked, and show it’s childs
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Hide post navigation if current post is in a category with only one post
- Get related posts of child term of custom post type
- Limit amount of posts made within a custom taxonomy
- custom-taxonomy/post_name instead of the default post_type/post_name
- Show custom post archive when custom post not specified
- Show custom post type relationships by taxonomy
- Group CPT posts by custom taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- Filter CPT posts by one or more categories
- Custom taxonomy and custom post type – wrong permalinks and template
- Setting up taxonomy to relate various custom post types – advice on structuring?
- Getting categories of posts under a custom taxonomy
- Post count by month of taxonmy term
- How can I make the slug of the taxonomy also the slug of the custom post
- Query taxonomy of taxonomy of custom post type
- CPT post count is 0 for the authors in the User list
- Taxonomies don’t show up on in the dashboard page for a custom post type in wordpress 5.22
- Can’t remove front from permalinks for custom taxonomy category page
- Custom WP Query on custom meta and sort by multiple meta keys value
- How to checked selected category checkbox when my custom post inserted from frontend
- Allow duplicate slugs for custom post type with taxonomies
- Addition of custom option panel crashes Media Library & Admin Area
- list taxonomies from a custom post type
- How to display Custom Taxonomy under Custom Admin Menu?
- Display a grid of taxonomy terms at root taxonomy page
- WordPress custom taxonomy, posts urls
- Listing posts under primary and secondary taxonomies
- Removing custom post type slug from URL
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How can I made custom taxonomies relationship?
- How to start a new post with custom Taxonomies already set?
- Nested Custom Post Type or Custom Post Type Parents?
- Customize Custom Post Type URL
- What’s the WP way to load remaining custom posts?
- How to rewrite url for any specific taxonomy?
- Specific query for custom post type
- Custom post URL 404 error
- limit value taxonomy based on previous taxonomy value wordpress
- Dynamic dropdown select values depending on other custom field value
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Limit number of custom posts per taxonomy
- Tracking changes in admin-page so user gets warning when leaving the page
- Custom taxonomies relationship
- I want to change the word “Tags” in WordPress to something else, but how?
- Permalinks /country/city/cpt/postname/
- Number of Custom Post Types published are not being shown in the custom page
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Possibilities for the edit.php admin panel? [closed]
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Metabox not show in categories custom post type cmb2
- What is the best practice for displaying my plugin content in themes?
- Categorize custom post type
- Show post in table front end
- How do I display the taxonomy for a custom post type in an array
- Pretty URL for custom search for custom post type
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Admin Filter – Add Post Type Description on Post Type Page
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- How to list custom taxonomies in the back end
- Several CPT’s with same Taxonomy name but with different Terms for each
- Remove slug in URL custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How to conditionally redirect to the post from a taxonomy page?
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Sort and filter custom post type posts by custom taxonomy
- How do I display the grand child items of a taxonomy term?
- How to edit this code to get the categories in achieve page?
- Taxonomies relations
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Get general taxonomy name for a Custom Post Type
- Display Custom Taxonomy Alphabetically
- Import data from CSV with custom taxomony empty
- WordPress uses url different from defined in rewrite arg of custom post type