Create Dynamic Username

wpwhpro/run/create_action_user_login

Description:
This filter allows you to actiavte the functionality of creating a random username if the user_login is not defined.

Parameter Type Description
false bool True if you want to generate an nusername if the user_login parameter is not provided.

/**
* Create a user as soon as your specified action webhook fires an update action to the specified webhook
*/
$dynamic_user_login = apply_filters( 'wpwhpro/run/create_action_user_login', false );

Updated on August 10, 2019

Was this article helpful?

Related Articles