WordPress at Your Fingertips
function is not described

WP_Plugin_Install_List_Table::no_items() public WP 1.0

{} It's a method of the class: WP_Plugin_Install_List_Table{}

No Hooks.


null. Nothing.


$WP_Plugin_Install_List_Table = new WP_Plugin_Install_List_Table();

Code of WP_Plugin_Install_List_Table::no_items() WP 5.8.2

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>
	<?php } else { ?>
		<div class="no-plugin-results"><?php _e( 'No plugins found. Try a different search.' ); ?></div>