
內容簡介
Indie49 Copy Post Link 外掛為 WordPress 控制台的文章、頁面、分類、標籤及自訂文章類型提供快速複製連結的功能,讓使用者能輕鬆將連結複製到剪貼簿,提升管理效率。
【主要功能】
• 一鍵複製連結到剪貼簿
• 批次複製多個連結
• 支援自訂文章類型與分類
外掛標籤
開發者團隊
原文外掛簡介
Adds a Copy link action to the rows of the admin lists of posts, pages, categories, tags, custom post types and custom taxonomies, alongside Edit, Quick Edit and View. One click puts the link on your clipboard, and the action turns green for a moment to confirm it.
Need many links? Tick the rows, choose Copy links in Bulk actions and press Apply. All their links are copied at once, one per line and in the order of the list, ready to paste into a spreadsheet, a message or a document.
Works with posts, pages and custom post types: the extra content types that themes and plugins add, such as products, events, recipes, portfolios or directory listings.
Works with categories, tags and custom taxonomies, such as product categories or event locations.
Shown only where the link is public and final: published, private and custom public statuses for content, and taxonomies with public archives.
No settings, no tracking, no ads and no external requests. Bulk copy runs in your browser without reloading the page.
For developers
Four filters. The first two receive the post, the last two the term:
indie49_copy_post_link_enabled decides whether the action is shown for a post.
indie49_copy_post_link_url changes the URL copied for a post.
indie49_copy_post_link_term_enabled decides whether the action is shown for a term.
indie49_copy_post_link_term_url changes the URL copied for a term.
Bulk copy uses the same links, so the filters apply to it too.
add_filter( 'indie49_copy_post_link_enabled', function ( $enabled, $post ) { return $enabled && 'product' !== $post->post_type; }, 10, 2 );
add_filter( 'indie49_copy_post_link_url', function ( $url, $post ) { return add_query_arg( 'utm_source', 'newsletter', $url ); }, 10, 2 );
