login_enqueue_scripts WordPress Action Hook

The login_enqueue_scripts hook is used to load scripts and styles for the login page. This hook is fired when the user is logging in, and allows for custom scripts and styles to be loaded for the login page. This can be used to customize the login experience for your users, and make the login process more efficient.

do_action( 'login_enqueue_scripts' ) #

Enqueue 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.


Top ↑

Source

File: wp-login.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.