WP_MS_Users_List_Table::display_rows() – This filter is documented in wp-admin/includes/class-wp-users-list-table.php

You appear to be a bot. Output may be restricted

Description

This filter is documented in wp-admin/includes/class-wp-users-list-table.php

Usage

WP_MS_Users_List_Table::display_rows();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-ms-users-list-table.php
Lines:

1 to 22 of 22
  public function display_rows() {
    foreach ( $this->items as $user ) {
      $class = '';

      $status_list = array(
        'spam'    => 'site-spammed',
        'deleted' => 'site-deleted',
      );

      foreach ( $status_list as $status => $col ) {
        if ( $user->$status ) {
          $class .= " $col";
        }
      }

      ?>
			<tr class="<?php echo trim( $class ); ?>">
				<?php $this->single_row_columns( $user ); ?>
			</tr>
			<?php
    }
  }
 

 View on GitHub View on Trac