Function
Do the `login_head` action hook.
tml_do_login_head( )
Source
function tml_do_login_head() {
if ( ! tml_is_action() ) {
return;
}
// This is already attached to "wp_head"
remove_action( 'login_head', 'wp_print_head_scripts', 9 );
// Don't index TML actions
add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
add_action( 'login_head', 'wp_strict_cross_origin_referrer' );
/** This action is documented in wp-login.php */
do_action( 'login_head' );
}
Uses
Changelog
| Version | Description |
|---|---|
| 7.0.13 | Introduced. |