install_plugins_recommended хук-событиеWP 2.7.0

Fires after the plugins list table in each tab of the Install Plugins screen.

Это один из вариантов динамического хука install_plugins_(tab)

Использование

add_action( 'install_plugins_recommended', 'wp_kama_install_plugins_recommended_action' );

/**
 * Function for `install_plugins_recommended` action-hook.
 * 
 * @param int $paged The current page number of the plugins list table.
 *
 * @return void
 */
function wp_kama_install_plugins_recommended_action( $paged ){

	// action...
}
$paged(int)
The current page number of the plugins list table.

Список изменений

С версии 2.7.0 Введена.

Где вызывается хук

В файле: /wp-admin/plugin-install.php
install_plugins_recommended
wp-admin/plugin-install.php 200
do_action( "install_plugins_{$tab}", $paged );

Где используется хук в WordPress

wp-admin/includes/admin-filters.php 104
add_action( 'install_plugins_recommended', 'display_plugins_table' );