WP_Plugins_List_Table::search_box

Advertisement

Summery Summery

Displays the search box.

Syntax Syntax

WP_Plugins_List_Table::search_box( string $text, string $input_id )

Parameters Parameters

$text

(Required) The 'submit' button label.

$input_id

(Required) ID attribute value for the search input field.

Source Source

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

			}
		}

		return false;
	}

	/**
	 * @global string $orderby
	 * @global string $order
	 * @param array $plugin_a
	 * @param array $plugin_b
	 * @return int
	 */
	public function _order_callback( $plugin_a, $plugin_b ) {
		global $orderby, $order;

		$a = $plugin_a[ $orderby ];
		$b = $plugin_b[ $orderby ];

		if ( $a == $b ) {
			return 0;

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply