apply_filters( 'post_row_actions', string[] $actions , WP_Post $post )
Filters the array of row action links on the Posts list table.
Description Description
The filter is evaluated only for non-hierarchical post types.
Parameters Parameters
- $actions
-
(string[]) An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
- $post
-
(WP_Post) The post object.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Here is an example of how to modify the quick links in your custom post type admin table list,
Expand full source codeCollapse full source code