after_theme_row_<theme>
The WordPress Core after theme row hook.
Description
Parameters (3)
- 0. $wp_theme_update_row (string) =>
'wp_theme_update_row'
- The
wp
theme update row. - 1. $int (int) =>
10
- The int.
- 2. $int (int) =>
2
- The int.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'after_theme_row_{$theme}', $wp_theme_update_row, $int, $int );
- The following example is for adding a hook callback.
- // define the after_theme_row_<theme> callback
- function action_after_theme_row_theme( $wp_theme_update_row, $int, $int ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "after_theme_row_{$theme}", 'action_after_theme_row_theme', 10, 3 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "after_theme_row_{$theme}", 'action_after_theme_row_theme', 10, 3 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/includes/update.php
- add_action( "after_theme_row_$theme", 'wp_theme_update_row', 10, 2 );