apply_filters( 'user_row_actions', string[] $actions, WP_User $user_object )

Filters the action links displayed under each user in the Users list table.



(string[]) An array of action links to be displayed. Default 'Edit', 'Delete' for single site, and 'Edit', 'Remove' for Multisite.


(WP_User) WP_User object for the currently listed user.

Top ↑


File: wp-admin/includes/class-wp-users-list-table.php

View on Trac

Top ↑


Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

  1. Skip to note 1 content
    Contributed by Erik Betshammar

    This snippet removes the link to the author archive. Can be used with ms_user_row_actions aswell.

    function myprefix_user_row_actions( $actions  ) {
    	if ( isset( $actions['view'] ) ) {
    		unset( $actions['view'] );
    	return $actions;
    add_action( 'user_row_actions', 'myprefix_user_row_actions', 10, 1 );

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