You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would say WordPress.php, since that Class is focused on cleaning cruft.
/** * Add to existing run() function */publicfunctionrun() {
add_filter( 'login_headerurl', array($this,'login_logo_url') );
add_filter( 'login_headertext', array($this,'login_logo_url_title') );
}
/** * Reset - Login page 'home' URL on Logo * * This function resets the link URL of the header logo above the login form. * Changes the default from 'WordPress' to the site-homepage. * * @since 1.0.1 * @see https://developer.wordpress.org/reference/hooks/login_headerurl/ */publicstaticfunctionlogin_logo_url() : void {
returnhome_url();
}
/** * Reset - Header logo Link Text on Login page * * Filters the link text of the header logo above the login form on the login page. * * @since 0.1.1 * @see https://developer.wordpress.org/reference/hooks/login_headertext/ */publicstaticfunctionlogin_logo_url_title() : void {
returnget_bloginfo( 'name' );
}
The text was updated successfully, but these errors were encountered:
These changes are pretty straightforward.
I would say
WordPress.php
, since that Class is focused on cleaning cruft.The text was updated successfully, but these errors were encountered: