WP_Plugin_Install_List_Table::no_items() –

You appear to be a bot. Output may be restricted

Description

Usage

WP_Plugin_Install_List_Table::no_items();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php
Lines:

1 to 10 of 10
  public function no_items() {
    if ( isset( $this->error ) ) { ?>
			<div class="inline error"><p><?php echo $this->error->get_error_message(); ?></p>
				<p class="hide-if-no-js"><button class="button try-again"><?php _e( 'Try Again' ); ?></button></p>
			</div>
		<?php } else { ?>
			<div class="no-plugin-results"><?php _e( 'No plugins found. Try a different search.' ); ?></div>
			<?php
    }
  }
 

 View on GitHub View on Trac