Filters the array of row action links on the Posts list table.
The filter is evaluated only for non-hierarchical post types.
$actionsstring[]
'Edit', ‘Quick Edit’, 'Restore', 'Trash', ‘Delete Permanently’, 'Preview', and 'View'.$postWP_Post
$actions = apply_filters( 'post_row_actions', $actions, $post );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_row_actions