apply_filters( 'learndash-login-form-args', array $login_form_args )
Filters list of login form arguments to be used in wp_login_form.
Description #
Parameters #
- $login_form_args
-
(array) An Array of login form arguments to be used in wp_login_form.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash-login-form-args filter.
*/
add_filter(
'learndash-login-form-args',
function( $login_form_args ) {
// May add any custom logic using $login_form_args.
// Always return $login_form_args.
return $login_form_args;
}
);
Changelog #
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |