b3_localhost_username()

Description

With this filter you can set a pre-filled username on the registration form.

Arguments

  • $username
    (string) - Your custom username.

Return

(string)   Username to pre-fill

Usage

  1. function b3_localhost_username( $username ) {
  2.     return 'Dummy';
  3. }
  4. add_filter( 'b3_localhost_username', 'b3_localhost_username' );

Used in

Tags