Fires after each specific row in the Multisite themes list table.


do_action( 'after_theme_row_<stylesheet>', (string) $stylesheet, (WP_Theme) $theme, (string) $status ); 

The dynamic portion(s) of the hook name refer to the directory name of the theme, most often synonymous with the template name of the theme.

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.


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

Defined (1)

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

  1. do_action( "after_theme_row_{$stylesheet}", $stylesheet, $theme, $status );