বৰ্ণনা
This is a simple Multisite add-on for Justin Tadlock’s Members plugin, which synchronizes user (multiple) roles on all network sites.
সংযোগসমূহ
ইনষ্টলেশ্যন
By installing this plugin we assume you use WordPress Multisite and have Justin Tadlock’s Members plugin installed.
- Upload the plugin files to the
/wp-content/plugins/members-multisite-user-roles-sync
directory, or install the plugin through the WordPress Multisite plugins screen directly. - Network activate the plugin through the Multisite ‘Plugins’ screen in WordPress
সঘনাই উত্থাপিত প্ৰশ্ন
- Where is the settings page for this plugin?
-
There is none. You simply activate it and it will work right away.
- Is there a function to add a role to a user programmatically?
-
Yes, there is. See this example code:
<?php $members_mu_user_roles_sync = new Members_Mu_User_Roles_Sync(); $members_mu_user_roles_sync->add_role( $user_id, // user you want to add role to $roles = array(), // input array is needed $all_sites = TRUE ); ?>
পৰ্য্যালোচনা
এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।
অৱদানকাৰী আৰু বিকাশকাৰীসকল
“Members Multisite User Roles Sync” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।
অৱদানকাৰীসকলআপোনাৰ ভাষাত “Members Multisite User Roles Sync” অনুবাদ কৰক।
বিকাশৰ প্ৰতি আগ্ৰহী?
ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।
সলনি-পঞ্জী
0.0.1
- Init release.
0.0.2
- Fix: User roles were not syncing to other sites when removing roles. (jeffreylasut)
- Enhancement: Make sure function get_editable_roles exists.