mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Add examples of possible names for various hooks whose name contains a dynamic portion.
This provides greater discoverability of such hooks in search results on the Code Reference site as well as increased clarity when reading the source. See #50734, #52628 git-svn-id: https://develop.svn.wordpress.org/trunk@50505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -526,6 +526,11 @@ class WP_Terms_List_Table extends WP_List_Table {
|
||||
*
|
||||
* The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `category_row_actions`
|
||||
* - `post_tag_row_actions`
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string[] $actions An array of action links to be displayed. Default
|
||||
@@ -616,6 +621,11 @@ class WP_Terms_List_Table extends WP_List_Table {
|
||||
* The dynamic portion of the hook name, `$this->screen->taxonomy`,
|
||||
* refers to the slug of the current taxonomy.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `manage_category_custom_column`
|
||||
* - `manage_post_tag_custom_column`
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $string Blank string.
|
||||
|
||||
Reference in New Issue
Block a user