I need to assign a role to visitors/guests

Use add_role with any array of capabilities. Example:

add_role( 'custom_role', 'Custom Role', array( 'read' => true ) );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)