Skip to content

Filter

Filter whether users can set their own password upon registration or not.

apply_filters( 'tml_allow_user_passwords', bool $user_passwords )

Parameters

$user_passwords bool
Whether users can set their own password upon registration or not.

Source

Fired in tml_allow_user_passwords()

return (bool) apply_filters( 'tml_allow_user_passwords', $user_passwords );

Changelog

VersionDescription
7.0 Introduced.