Last active
December 11, 2023 15:34
-
-
Save carlodaniele/dcaa60b3cf6145e7f242efea24a2d9f9 to your computer and use it in GitHub Desktop.
A plugin to share users and usermeta tables between independent WordPress installations. This plugin requires CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE defined into wp-config file
Single-sign on approach: https://zeropointdevelopment.com/how-to-single-sign-on-to-multiple-wordpress-sites/
When there are more than two sites to connect, an "or" is performed within the "If"
Ejm:
if ( $caps ){ update_user_meta( $user_id, $prefix_2 . 'capabilities', $caps ); "or" update_user_meta( $user_id, $prefix_3 . 'capabilities', $caps ); "or" update_user_meta( $user_id, $prefix_4 . 'capabilities', $caps ); }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have implemented this on my wordpress sites and would like to know if there is any way that i can now setup a single sign on between two wordpress sites on the same domain which are not multisite. Do you know if this is possible and if so how.
Thanks,
Ross