install_themes_table_api_args_{$tab} WordPress Filter Hook

The install_themes_table_api_args_{$tab} hook is fired when the WordPress Theme Install API is called. It allows for themes to be installed from a particular tab.

apply_filters( "install_themes_table_api_args_{$tab}", array|false $args ) #

Filters API request arguments for each Install Themes screen tab.


Description

The dynamic portion of the hook name, $tab, refers to the theme install tab.

Possible hook names include:

  • install_themes_table_api_args_dashboard
  • install_themes_table_api_args_featured
  • install_themes_table_api_args_new
  • install_themes_table_api_args_search
  • install_themes_table_api_args_updated
  • install_themes_table_api_args_upload

Top ↑

Parameters

$args

(array|false)Theme install API arguments.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.