WP HOOKS
filtrdynamicznyod 3.7.0

install_themes_table_api_args_{$tab}

Args 1Plik wp-admin/includes/class-wp-theme-install-list-table.php

Opis — z kodu źródłowego

Filters API request arguments for each Install Themes screen tab.

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

Hook dynamiczny — możliwe nazwy

install_themes_table_api_args_dashboardinstall_themes_table_api_args_featuredinstall_themes_table_api_args_newinstall_themes_table_api_args_searchinstall_themes_table_api_args_updatedinstall_themes_table_api_args_upload

Parametry

ParametrTypOpis
$argsarray | falseTheme install API arguments.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'install_themes_table_api_args_{$tab}', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii