Filter hook 'post_row_actions'

in WP Core File wp-admin/includes/class-wp-posts-list-table.php at line 1595

Description

Filters the array of row action links on the Posts list table. The filter is evaluated only for non-hierarchical post types.

Occurrences

Filename Line Number
wp-admin/includes/class-wp-posts-list-table.php 1595

Parameters

Type Name Description
string[] $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.
WP_Post $post The post object.

PHP Doc

/**
			 * Filters the array of row action links on the Posts list table.
			 *
			 * The filter is evaluated only for non-hierarchical post types.
			 *
			 * @since 2.8.0
			 *
			 * @param string[] $actions An array of row action links. Defaults are
			 *                          'Edit', 'Quick Edit', 'Restore', 'Trash',
			 *                          'Delete Permanently', 'Preview', and 'View'.
			 * @param WP_Post  $post    The post object.
			 */