load-themes.php
The WordPress Core load themes php hook.
Description
Parameters (1)
- 0. $array (callback) =>
array( $this, 'load_themes_screen' )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'load-themes.php', $array );
- The following example is for adding a hook callback.
- // define the load-themes.php callback
- function action_load_themes_php( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'load-themes.php', 'action_load_themes_php', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'load-themes.php', 'action_load_themes_php', 10, 1 );
Defined (2)
The action is defined in the following location(s).
- /vendor/yoast/license-manager/class-theme-update-manager.php
- add_action( 'load-themes.php', array( $this, 'load_themes_screen' ) );
- /vendor/yoast/license-manager-2/class-theme-update-manager.php
- add_action( 'load-themes.php', array( $this, 'load_themes_screen' ) );