WP_Plugins_List_Table::_search_callback

Advertisement

Syntax Syntax

WP_Plugins_List_Table::_search_callback( array $plugin )

Parameters Parameters

$plugin

(Required)

Return Return

(bool)

Source Source

File: wp-admin/includes/class-wp-plugins-list-table.php

			$totals[ $type ] = count( $list );
		}

		if ( empty( $plugins[ $status ] ) && ! in_array( $status, array( 'all', 'search' ), true ) ) {
			$status = 'all';
		}

		$this->items = array();
		foreach ( $plugins[ $status ] as $plugin_file => $plugin_data ) {
			// Translate, don't apply markup, sanitize HTML.
			$this->items[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $plugin_data, false, true );

Advertisement

Advertisement

Leave a Reply