WP_Plugins_List_Table::_order_callback

Advertisement

Syntax Syntax

WP_Plugins_List_Table::_order_callback( array $plugin_a, array $plugin_b )

Parameters Parameters

$plugin_a

(array) (Required)

$plugin_b

(array) (Required)

Return Return

(int)

Source Source

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

		wp_localize_script(
			'updates',
			'_wpUpdatesItemCounts',
			array(
				'plugins' => $js_plugins,
				'totals'  => wp_get_update_data(),
			)
		);

		if ( ! $orderby ) {
			$orderby = 'Name';
		} else {
			$orderby = ucfirst( $orderby );
		}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.