Action hook 'after_theme_row'

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

View Source

after_theme_row

Action Hook
Description
Fires after each row in 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 1032

Hook Parameters

Type Name Description
string $stylesheet Directory name of the theme.
WP_Theme $theme Current WP_Theme object.
string $status Status of the theme.

Usage Examples

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

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

Source Code Context

wp-admin/includes/class-wp-ms-themes-list-table.php:1032 - How this hook is used in WordPress core
<?php
1027  		 *
1028  		 * @param string   $stylesheet Directory name of the theme.
1029  		 * @param WP_Theme $theme      Current WP_Theme object.
1030  		 * @param string   $status     Status of the theme.
1031  		 */
1032  		do_action( 'after_theme_row', $stylesheet, $theme, $status );
1033  
1034  		/**
1035  		 * Fires after each specific row in the Multisite themes list table.
1036  		 *
1037  		 * The dynamic portion of the hook name, `$stylesheet`, refers to the

PHP Documentation

<?php
/**
		 * Fires after each row in the Multisite themes list table.
		 *
		 * @since 3.1.0
		 *
		 * @param string   $stylesheet Directory name of the theme.
		 * @param WP_Theme $theme      Current WP_Theme object.
		 * @param string   $status     Status of the theme.
		 */
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.