WP_Theme_Install_List_Table::_js_vars
Send required variables to JavaScript land
Method of the class: WP_Theme_Install_List_Table{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Theme_Install_List_Table = new WP_Theme_Install_List_Table(); $WP_Theme_Install_List_Table->_js_vars( $extra_args );
- $extra_args(array)
- Unused.
Default:array()
Notes
- Global. String.
$tabCurrent tab within Themes->Install screen - Global. String.
$typeType of search.
Changelog
| Since 3.4.0 | Introduced. |
WP_Theme_Install_List_Table::_js_vars() WP Theme Install List Table:: js vars code WP 7.0.2
public function _js_vars( $extra_args = array() ) {
global $tab, $type;
parent::_js_vars( compact( 'tab', 'type' ) );
}