WordPress filter hook · part of WordPress core

page_row_actions

A WordPress core filter that 6 plugins also fire themselves, running on 170K+ sites between them.

“Filters the array of row action links on the Pages list table.”

How to use page_row_actions

It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'page_row_actions', function( $actions, $post ) {
	// Change $actions here.
	return $actions;
}, 10, 2 );

Argument names come from Kubio AI Page Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

This hook is fired by WordPress core too. Official reference on developer.wordpress.org →

6 plugins that fire page_row_actions

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Nested Pages icon Nested Pages90,000+ installs apply_filters( 'page_row_actions', $actions, $this->post ) app/Entities/Listing/Listing.php:267
  2. Kubio AI Page Builder icon Kubio AI Page Builder80,000+ installs apply_filters( 'page_row_actions', $actions, $post ) lib/full-site-editing/class-templates-list-table.php:85
  3. EventPress icon EventPress200+ installs apply_filters( 'page_row_actions', $actions, $page ) views/admin.php:536
  4. Admin Posts Grid icon Admin Posts Grid40+ installs apply_filters( 'page_row_actions', $actions, $post ) includes/class-wp-posts-list-grid.php:1673
  5. Admin Live Search icon Admin Live Search20+ installs apply_filters( 'page_row_actions', $actions, $post ) admin/admin-live-search-post-table.php:1446
  6. Enrove Folios icon Enrove FoliosFewer than 10 installs apply_filters( 'page_row_actions', $actions, $post ) list/list-table.php:148

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.