after_theme_row
Fires after each row in the Multisite themes list table.
Использование
add_action( 'after_theme_row', 'wp_kama_after_theme_row_action', 10, 3 );
/**
* Function for `after_theme_row` action-hook.
*
* @param string $stylesheet Directory name of the theme.
* @param WP_Theme $theme Current WP_Theme object.
* @param string $status Status of the theme.
*
* @return void
*/
function wp_kama_after_theme_row_action( $stylesheet, $theme, $status ){
// action...
}
- $stylesheet(строка)
- Directory name of the theme.
- $theme(WP_Theme)
- Current WP_Theme object.
- $status(строка)
- Status of the theme.
Список изменений
| С версии 3.1.0 | Введена. |
Где вызывается хук
after_theme_row
wp-admin/includes/class-wp-ms-themes-list-table.php 1049
do_action( 'after_theme_row', $stylesheet, $theme, $status );