after_theme_row
Fires after each row in the Multisite themes list table.
Description
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.
- // run the action
- do_action( 'after_theme_row', $stylesheet, $theme, $status );
- The following example is for adding a hook callback.
- // define the after_theme_row callback
- function action_after_theme_row( $stylesheet, $theme, $status ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'after_theme_row', 'action_after_theme_row', 10, 3 );
- To remove a hook callback, use the example below.
- // remove the action
- 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
- do_action( 'after_theme_row', $stylesheet, $theme, $status );