Changeset 26342
- Timestamp:
- 11/23/2013 10:24:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r26120 r26342 119 119 'blogs' => __( 'Sites' ) 120 120 ); 121 /** 122 * Filter the columns displayed in the Network Admin Users list table. 123 * 124 * @since MU 125 * 126 * @param array $users_columns An array of user columns. Default 'cb', 'username', 127 * 'name', 'email', 'registered', 'blogs'. 128 */ 121 129 $users_columns = apply_filters( 'wpmu_users_columns', $users_columns ); 122 130 … … 190 198 } 191 199 200 /** 201 * Filter the action links displayed under each user 202 * in the Network Admin Users list table. 203 * 204 * @since 3.2.0 205 * 206 * @param array $actions An array of action links to be displayed. 207 * Default 'Edit', 'Delete'. 208 * @param WP_User $user WP_User object. 209 */ 192 210 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); 193 211 echo $this->row_actions( $actions ); … … 241 259 $actions['view'] = '<a class="' . $class . '" href="' . esc_url( get_home_url( $val->userblog_id ) ) . '">' . __( 'View' ) . '</a>'; 242 260 243 $actions = apply_filters('ms_user_list_site_actions', $actions, $val->userblog_id); 261 /** 262 * Filter the action links displayed next the sites a user belongs to 263 * in the Network Admin Users list table. 264 * 265 * @since 3.1.0 266 * 267 * @param array $actions An array of action links to be displayed. 268 * Default 'Edit', 'View'. 269 * @param int $userblog_id The site ID. 270 */ 271 $actions = apply_filters( 'ms_user_list_site_actions', $actions, $val->userblog_id ); 244 272 245 273 $i=0; … … 260 288 default: 261 289 echo "<td $attributes>"; 290 /** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */ 262 291 echo apply_filters( 'manage_users_custom_column', '', $column_name, $user->ID ); 263 292 echo "</td>";
Note: See TracChangeset
for help on using the changeset viewer.