Filter hook 'login_link_separator'

in WP Core File wp-login.php at line 583

View Source

login_link_separator

Filter Hook
Description
Filters the separator used between login form navigation links.

Hook Information

File Location wp-login.php View on GitHub
Hook Type Filter
Line Number 583

Hook Parameters

Type Name Description
string $login_link_separator The separator used between login form navigation links.

Usage Examples

Basic Usage
<?php
// Hook into login_link_separator
add_filter('login_link_separator', 'my_custom_filter', 10, 1);

function my_custom_filter($login_link_separator) {
    // Your custom filtering logic here
    return $login_link_separator;
}

Source Code Context

wp-login.php:583 - How this hook is used in WordPress core
<?php
 578   *
 579   * @since 4.9.0
 580   *
 581   * @param string $login_link_separator The separator used between login form navigation links.
 582   */
 583  $login_link_separator = apply_filters( 'login_link_separator', ' | ' );
 584  
 585  switch ( $action ) {
 586  
 587  	case 'confirm_admin_email':
 588  		/*

PHP Documentation

<?php
/**
 * Filters the separator used between login form navigation links.
 *
 * @since 4.9.0
 *
 * @param string $login_link_separator The separator used between login form navigation links.
 */
Quick Info
  • Hook Type: Filter
  • Parameters: 1
  • File: wp-login.php
Related Hooks

Related hooks will be displayed here in future updates.