manage_themes_custom_column
Fires inside each custom column of the Multisite themes list table.
Usage
add_action( 'manage_themes_custom_column', 'wp_kama_manage_themes_custom_column_action', 10, 3 ); /** * Function for `manage_themes_custom_column` action-hook. * * @param string $column_name Name of the column. * @param string $stylesheet Directory name of the theme. * @param WP_Theme $theme Current WP_Theme object. * * @return void */ function wp_kama_manage_themes_custom_column_action( $column_name, $stylesheet, $theme ){ // action... }
- $column_name(string)
- Name of the column.
- $stylesheet(string)
- Directory name of the theme.
- $theme(WP_Theme)
- Current WP_Theme object.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
manage_themes_custom_column
wp-admin/includes/class-wp-ms-themes-list-table.php 898
do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );