Add More to User Row Actions

Need to quickly see more than the default information on the Users page? Here’s how to get and display each users website:

add_filter( 'user_row_actions', 'user_row_actions_show_website', 10, 2 );
function user_row_actions_show_website( $actions, $user_object ) {
	$actions['website'] = make_clickable( $user_object->user_url );
	return $actions;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: