W3cubDocs

/WordPress

do_action( ‘login_enqueue_scripts’ )

Enqueues scripts and styles for the login page.

More Information

login_enqueue_scripts is the proper hook to use when enqueuing items that are meant to appear on the login page. Despite the name, it is used for enqueuing both scripts and styles, on all login and registration related screens.

Source

do_action( 'login_enqueue_scripts' );

Changelog

Version Description
3.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/login_enqueue_scripts