WP_Users_List_Table::display_rows()
Generates the list table rows.
Метод класса: WP_Users_List_Table{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_Users_List_Table = new WP_Users_List_Table(); $WP_Users_List_Table->display_rows();
Список изменений
С версии 3.1.0 | Введена. |
Код WP_Users_List_Table::display_rows() WP Users List Table::display rows WP 6.5.2
public function display_rows() { // Query the post counts for this page. if ( ! $this->is_site_users ) { $post_counts = count_many_users_posts( array_keys( $this->items ) ); } foreach ( $this->items as $userid => $user_object ) { echo "\n\t" . $this->single_row( $user_object, '', '', isset( $post_counts ) ? $post_counts[ $userid ] : 0 ); } }