WP_Plugins_List_Table::_search_callback( array $plugin )


Parameters Parameters

$plugin

(array) (Required)


Top ↑

Return Return

(bool)



Top ↑

Source Source

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

	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;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.