Action hook 'manage_themes_custom_column'

in WP Core File wp-admin/includes/class-wp-ms-themes-list-table.php at line 907

View Source

manage_themes_custom_column

Action Hook
Description
Fires inside each custom column of the Multisite themes list table.

Hook Information

File Location wp-admin/includes/class-wp-ms-themes-list-table.php View on GitHub
Hook Type Action
Line Number 907

Hook Parameters

Type Name Description
string $column_name Name of the column.
string $stylesheet Directory name of the theme.
WP_Theme $theme Current WP_Theme object.

Usage Examples

Basic Usage
<?php
// Hook into manage_themes_custom_column
add_action('manage_themes_custom_column', 'my_custom_function', 10, 3);

function my_custom_function($column_name, $stylesheet, $theme) {
    // Your custom code here
}

Source Code Context

wp-admin/includes/class-wp-ms-themes-list-table.php:907 - How this hook is used in WordPress core
<?php
 902  		 *
 903  		 * @param string   $column_name Name of the column.
 904  		 * @param string   $stylesheet  Directory name of the theme.
 905  		 * @param WP_Theme $theme       Current WP_Theme object.
 906  		 */
 907  		do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );
 908  	}
 909  
 910  	/**
 911  	 * Handles the output for a single table row.
 912  	 *

PHP Documentation

<?php
/**
		 * Fires inside each custom column of the Multisite themes list table.
		 *
		 * @since 3.1.0
		 *
		 * @param string   $column_name Name of the column.
		 * @param string   $stylesheet  Directory name of the theme.
		 * @param WP_Theme $theme       Current WP_Theme object.
		 */
Quick Info
  • Hook Type: Action
  • Parameters: 3
  • File: wp-admin/includes/class-wp-ms-themes-list-table.php
Related Hooks

Related hooks will be displayed here in future updates.