I manage a own CMS with own Login, but there is also a wordpress Instalation as sub-Website, as a part of the whole System.
I would like to ask if there is any way to use the own CMS Login for the Wordpress installation?
Thanks in advice
best regards Bukso
For that above requirement, you need matching username/password with WP site.
When users are trying to register into your site use wp_create_user( $username, $password, $email );
and when users are logging into your site you can use following code
$creds = array(
'user_login' => 'example',
'user_password' => 'plaintextpw',
'remember' => true
);
$user = wp_signon( $creds, false );
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.