WP_Theme_Install_List_Table::_js_vars( array $extra_args = array() )

Send required variables to JavaScript land

Parameters

$extra_args

(array) (Optional) Unused.

Default value: array()

Source

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

public function _js_vars( $extra_args = array() ) {
		global $tab, $type;
		parent::_js_vars( compact( 'tab', 'type' ) );
	}

Changelog

Version Description
3.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/_js_vars