mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Tweak inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
Props kpdesign. Fixes #26203. Built from https://develop.svn.wordpress.org/trunk@27355 git-svn-id: http://core.svn.wordpress.org/trunk@27206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4da1691fd5
commit
16941beac1
@ -218,7 +218,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
endif;
|
endif;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires just before the closing div containing the buik role-change controls
|
* Fires just before the closing div containing the bulk role-change controls
|
||||||
* in the Users list table.
|
* in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 3.5.0
|
* @since 3.5.0
|
||||||
@ -371,11 +371,13 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
$actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url."action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . "</a>";
|
$actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url."action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . "</a>";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter user row actions for a single row in the Users list table.
|
* Filter the action links displayed under each user in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param array $actions Array of row actions actions.
|
* @param array $actions An array of action links to be displayed.
|
||||||
|
* Default 'Edit', 'Delete' for single site, and
|
||||||
|
* 'Edit', 'Remove' for Multisite.
|
||||||
* @param WP_User $user_object WP_User object for the currently-listed user.
|
* @param WP_User $user_object WP_User object for the currently-listed user.
|
||||||
*/
|
*/
|
||||||
$actions = apply_filters( 'user_row_actions', $actions, $user_object );
|
$actions = apply_filters( 'user_row_actions', $actions, $user_object );
|
||||||
@ -436,11 +438,11 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||||||
$r .= "<td $attributes>";
|
$r .= "<td $attributes>";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter display output of custom columns in the Users list table.
|
* Filter the display output of custom columns in the Users list table.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param string $output Custom column output. Default empty.
|
* @param string $output Custom column output. Default empty.
|
||||||
* @param string $column_name Column name.
|
* @param string $column_name Column name.
|
||||||
* @param int $user_id ID of the currently-listed user.
|
* @param int $user_id ID of the currently-listed user.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user