apply_filters( ‘page_row_actions’, string[] $actions, WP_Post $post )

In this article

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

$actions = apply_filters( 'page_row_actions', $actions, $post );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.