Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-post-comments-list-table.php: WP_Post_Comments_List_Table::get_table_classes() | |
wp-includes/functions.php: wp_nonce_field() | Retrieve or display nonce hidden field for forms. |
(bool) (Optional)
Default value: false
File: wp-admin/includes/class-wp-post-comments-list-table.php
public function display( $output_empty = false ) { $singular = $this->_args['singular']; wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' ); ?> <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;"> <tbody id="the-comment-list" <?php if ( $singular ) { echo " data-wp-lists='list:$singular'"; } ?> > <?php if ( ! $output_empty ) { $this->display_rows_or_placeholder(); } ?> </tbody> </table> <?php }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_post_comments_list_table/display