WordPress at Your Fingertips
function is not described

WP_Plugins_List_Table::_search_callback() public WP 1.0

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

No Hooks.

Return

true|false.

Usage

$WP_Plugins_List_Table = new WP_Plugins_List_Table();
$WP_Plugins_List_Table->_search_callback( $plugin );
$plugin(array) (required)
-

Notes

  • Global. String. $s URL encoded search term.

Code of WP_Plugins_List_Table::_search_callback() WP 5.8.2

public function _search_callback( $plugin ) {
	global $s;

	foreach ( $plugin as $value ) {
		if ( is_string( $value ) && false !== stripos( strip_tags( $value ), urldecode( $s ) ) ) {
			return true;
		}
	}

	return false;
}