Changeset 37540
- Timestamp:
- 05/23/2016 06:55:17 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r37511 r37540 139 139 140 140 /** 141 * Add a user to a blog. 142 * 143 * Use the 'add_user_to_blog' action to fire an event when 144 * users are added to a blog. 141 * Adds a user to a blog. 142 * 143 * Use the {@see 'add_user_to_blog'} action to fire an event when users are added to a blog. 145 144 * 146 145 * @since MU 1.0 … … 188 187 * Remove a user from a blog. 189 188 * 190 * Use the 'remove_user_from_blog'action to fire an event when189 * Use the {@see 'remove_user_from_blog'} action to fire an event when 191 190 * users are removed from a blog. 192 191 * 193 * Accepts an optional $reassignparameter, if you want to192 * Accepts an optional `$reassign` parameter, if you want to 194 193 * reassign the user's blog posts to another user upon removal. 195 194 * … … 528 527 * effectively an override of this limitation. 529 528 * 530 * Filter 'wpmu_validate_blog_signup'if you want to modify529 * Filter {@see 'wpmu_validate_blog_signup'} if you want to modify 531 530 * the way that WordPress validates new site signups. 532 531 * … … 750 749 * is enabled. 751 750 * 752 * Filter 'wpmu_signup_blog_notification'to bypass this function or751 * Filter {@see 'wpmu_signup_blog_notification'} to bypass this function or 753 752 * replace it with your own notification behavior. 754 753 * 755 * Filter 'wpmu_signup_blog_notification_email'and756 * 'wpmu_signup_blog_notification_subject'to change the content754 * Filter {@see 'wpmu_signup_blog_notification_email'} and 755 * {@see 'wpmu_signup_blog_notification_subject'} to change the content 757 756 * and subject line of the email sent to newly registered users. 758 757 * … … 856 855 * been requested. 857 856 * 858 * Filter 'wpmu_signup_user_notification'to bypass this function or857 * Filter {@see 'wpmu_signup_user_notification'} to bypass this function or 859 858 * replace it with your own notification behavior. 860 859 * 861 * Filter 'wpmu_signup_user_notification_email'and862 * 'wpmu_signup_user_notification_subject'to change the content860 * Filter {@see 'wpmu_signup_user_notification_email'} and 861 * {@see 'wpmu_signup_user_notification_subject'} to change the content 863 862 * and subject line of the email sent to newly registered users. 864 863 * … … 938 937 * Activate a signup. 939 938 * 940 * Hook to 'wpmu_activate_user' or 'wpmu_activate_blog'for events939 * Hook to {@see 'wpmu_activate_user'} or {@see 'wpmu_activate_blog'} for events 941 940 * that should happen only when users or sites are self-created (since 942 941 * those actions are not called when users and sites are created … … 1033 1032 * 1034 1033 * This function runs when a user self-registers as well as when 1035 * a Super Admin creates a new user. Hook to 'wpmu_new_user'for events1034 * a Super Admin creates a new user. Hook to {@see 'wpmu_new_user'} for events 1036 1035 * that should affect all new users, but only on Multisite (otherwise 1037 * use 'user_register').1036 * use {@see'user_register'}). 1038 1037 * 1039 1038 * @since MU … … 1071 1070 * 1072 1071 * This function runs when a user self-registers a new site as well 1073 * as when a Super Admin creates a new site. Hook to 'wpmu_new_blog'1072 * as when a Super Admin creates a new site. Hook to {@see 'wpmu_new_blog'} 1074 1073 * for events that should affect all new sites. 1075 1074 * … … 1155 1154 * Notifies the network admin that a new site has been activated. 1156 1155 * 1157 * Filter 'newblog_notify_siteadmin'to change the content of1156 * Filter {@see 'newblog_notify_siteadmin'} to change the content of 1158 1157 * the notification email. 1159 1158 * … … 1201 1200 * Notifies the network admin that a new user has been activated. 1202 1201 * 1203 * Filter 'newuser_notify_siteadmin'to change the content of1202 * Filter {@see 'newuser_notify_siteadmin'} to change the content of 1204 1203 * the notification email. 1205 1204 * … … 1403 1402 * Notify a user that their blog activation has been successful. 1404 1403 * 1405 * Filter 'wpmu_welcome_notification'to disable or bypass.1406 * 1407 * Filter 'update_welcome_email' and 'update_welcome_subject'to1404 * Filter {@see 'wpmu_welcome_notification'} to disable or bypass. 1405 * 1406 * Filter {@see 'update_welcome_email'} and {@see 'update_welcome_subject'} to 1408 1407 * modify the content and subject line of the notification email. 1409 1408 * … … 1506 1505 * Notify a user that their account activation has been successful. 1507 1506 * 1508 * Filter 'wpmu_welcome_user_notification'to disable or bypass.1509 * 1510 * Filter 'update_welcome_user_email' and 'update_welcome_user_subject'to1507 * Filter {@see 'wpmu_welcome_user_notification'} to disable or bypass. 1508 * 1509 * Filter {@see 'update_welcome_user_email'} and {@see 'update_welcome_user_subject'} to 1511 1510 * modify the content and subject line of the notification email. 1512 1511 * … … 1999 1998 2000 1999 /** 2001 * Add a newly created user to the appropriate blog2000 * Adds a newly created user to the appropriate blog 2002 2001 * 2003 2002 * To add a user in general, use add_user_to_blog(). This function 2004 * is specifically hooked into the wpmu_activate_useraction.2003 * is specifically hooked into the {@see 'wpmu_activate_user'} action. 2005 2004 * 2006 2005 * @since MU … … 2201 2200 * Update the count of sites for the current network. 2202 2201 * 2203 * If enabled through the 'enable_live_network_counts'filter, update the sites count2202 * If enabled through the {@see 'enable_live_network_counts'} filter, update the sites count 2204 2203 * on a network when a site is created or its status is updated. 2205 2204 * … … 2228 2227 * Update the network-wide users count. 2229 2228 * 2230 * If enabled through the 'enable_live_network_counts'filter, update the users count2229 * If enabled through the {@see 'enable_live_network_counts'} filter, update the users count 2231 2230 * on a network when a user is created or its status is updated. 2232 2231 * … … 2378 2377 * 2379 2378 * The default criteria for a large network is either more than 10,000 users or more than 10,000 sites. 2380 * Plugins can alter this criteria using the 'wp_is_large_network'filter.2379 * Plugins can alter this criteria using the {@see 'wp_is_large_network'} filter. 2381 2380 * 2382 2381 * @since 3.3.0
Note: See TracChangeset
for help on using the changeset viewer.