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. $tab Current tab within Themes->Install screen
- Global. String. $type Type of search.
Changelog
| Since 3.4.0 | Introduced. |
WP_Theme_Install_List_Table::_js_vars() WP Theme Install List Table:: js vars code WP 6.9
public function _js_vars( $extra_args = array() ) {
global $tab, $type;
parent::_js_vars( compact( 'tab', 'type' ) );
}