On this page
apply_filters( 'page_row_actions', string[] $actions, WP_Post $post )
Filters the array of row action links on the Pages list table.
Description
The filter is evaluated only for hierarchical post types.
Parameters
$actionsstring[]-
An array of row action links. Defaults are
'Edit', 'Quick Edit','Restore','Trash', 'Delete Permanently','Preview', and'View'. $postWP_Post-
The post object.
Source
File: wp-admin/includes/class-wp-posts-list-table.php. View all references
$actions = apply_filters( 'page_row_actions', $actions, $post );
Related
Used By
| Used By | Description |
|---|---|
| WP_Posts_List_Table::handle_row_actions() wp-admin/includes/class-wp-posts-list-table.php | Generates and displays row action links. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_row_actions