Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: login_headertext

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
151      $login_header_text = empty( $login_header_title ) ? __( 'Powered by WordPress' ) : $login_header_title;
152
153      /**
154       * Filters the link text of the header logo above the login form.
155       *
156       * @since 5.2.0
157       *
158       * @param string $login_header_text The login header logo link text.
159       */
160      $login_header_text = apply_filters( 'login_headertext', $login_header_text );
161
162      $classes = array( 'login-action-' . $action, 'wp-core-ui' );
163
164      if ( is_rtl() ) {
165           $classes[] = 'rtl';
166      }
167
168      if ( $interim_login ) {
169           $classes[] = 'interim-login';