login_enqueue_scripts
Enqueue scripts and styles for the login page.
Description
Parameters (1)
- 0. $array (callback) =>
array( $this, 'login_enqueue_scripts' )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'login_enqueue_scripts', $array );
- The following example is for adding a hook callback.
- // define the login_enqueue_scripts callback
- function action_login_enqueue_scripts( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'login_enqueue_scripts', 'action_login_enqueue_scripts', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'login_enqueue_scripts', 'action_login_enqueue_scripts', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /modules/sso.php
- add_action( 'login_enqueue_scripts', array( $this, 'login_enqueue_scripts' ) );