WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 152 | $login_header_text = empty( $login_header_title ) ? __( 'Powered by WordPress' ) : $login_header_title; |
| 153 | |
| 154 | /** |
| 155 | * Filters the link text of the header logo above the login form. |
| 156 | * |
| 157 | * @since 5.2.0 |
| 158 | * |
| 159 | * @param string $login_header_text The login header logo link text. |
| 160 | */ |
| 161 | $login_header_text = apply_filters( 'login_headertext', $login_header_text ); |
| 162 | |
| 163 | $classes = array( 'login-action-' . $action, 'wp-core-ui' ); |
| 164 | |
| 165 | if ( is_rtl() ) { |
| 166 | $classes[] = 'rtl'; |
| 167 | } |
| 168 | |
| 169 | if ( $interim_login ) { |
| 170 | $classes[] = 'interim-login'; |