- Timestamp:
- 03/01/2014 02:59:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r27301 r27342 218 218 endif; 219 219 220 /** 221 * Fires just before the closing div containing the buik role-change controls 222 * in the Users list table. 223 * 224 * @since 3.5.0 225 */ 220 226 do_action( 'restrict_manage_users' ); 221 227 echo '</div>'; … … 364 370 if ( is_multisite() && get_current_user_id() != $user_object->ID && current_user_can( 'remove_user', $user_object->ID ) ) 365 371 $actions['remove'] = "<a class='submitdelete' href='" . wp_nonce_url( $url."action=remove&user=$user_object->ID", 'bulk-users' ) . "'>" . __( 'Remove' ) . "</a>"; 372 373 /** 374 * Filter user row actions for a single row in the Users list table. 375 * 376 * @since 2.8.0 377 * 378 * @param array $actions Array of row actions actions. 379 * @param WP_User $user_object WP_User object for the currently-listed user. 380 */ 366 381 $actions = apply_filters( 'user_row_actions', $actions, $user_object ); 367 382 $edit .= $this->row_actions( $actions ); … … 420 435 default: 421 436 $r .= "<td $attributes>"; 437 438 /** 439 * Filter display output of custom columns in the Users list table. 440 * 441 * @since 2.8.0 442 * 443 * @param string $output Custom column output. Default empty. 444 * @param string $column_name Column name. 445 * @param int $user_id ID of the currently-listed user. 446 */ 422 447 $r .= apply_filters( 'manage_users_custom_column', '', $column_name, $user_object->ID ); 423 448 $r .= "</td>";
Note: See TracChangeset
for help on using the changeset viewer.