after_theme_row

Fires after each row in the Multisite themes list table.

Description

do_action( 'after_theme_row', (string) $stylesheet, (WP_Theme) $theme, (string) $status ); 

Parameters (3)

0. $stylesheet (string)
Directory name of the theme.
1. $theme (WP_Theme)
Current WP_Theme object.
2. $status (string)
Status of the theme.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'after_theme_row', $stylesheet, $theme, $status ); 
The following example is for adding a hook callback.
  1. // define the after_theme_row callback 
  2. function action_after_theme_row( $stylesheet, $theme, $status ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'after_theme_row', 'action_after_theme_row', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'after_theme_row', 'action_after_theme_row', 10, 3 ); 

Defined (1)

The action is defined in the following location(s).

/wp-admin/includes/class-wp-ms-themes-list-table.php  
  1. do_action( 'after_theme_row', $stylesheet, $theme, $status );