Changeset 37503
- Timestamp:
- 05/22/2016 06:29:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r37342 r37503 60 60 61 61 /** 62 * Filter whether to use a secure sign-on cookie.62 * Filters whether to use a secure sign-on cookie. 63 63 * 64 64 * @since 3.1.0 … … 146 146 147 147 /** 148 * Filter whether the given user can be authenticated with the provided $password.148 * Filters whether the given user can be authenticated with the provided $password. 149 149 * 150 150 * @since 2.5.0 … … 296 296 if ( $user instanceof WP_User && is_multisite() ) { 297 297 /** 298 * Filter whether the user has been marked as a spammer.298 * Filters whether the user has been marked as a spammer. 299 299 * 300 300 * @since 3.7.0 … … 361 361 362 362 /** 363 * Filter the number of posts a user has written.363 * Filters the number of posts a user has written. 364 364 * 365 365 * @since 2.7.0 … … 468 468 469 469 /** 470 * Filter a specific user option value.470 * Filters a specific user option value. 471 471 * 472 472 * The dynamic portion of the hook name, `$option`, refers to the user option name. … … 580 580 581 581 /** 582 * Filter the list of a user's sites before it is populated.582 * Filters the list of a user's sites before it is populated. 583 583 * 584 584 * Passing a non-null value to the filter will effectively short circuit … … 668 668 669 669 /** 670 * Filter the list of blogs a user belongs to.670 * Filters the list of blogs a user belongs to. 671 671 * 672 672 * @since MU … … 1041 1041 1042 1042 /** 1043 * Filter the query arguments for the user drop-down.1043 * Filters the query arguments for the user drop-down. 1044 1044 * 1045 1045 * @since 4.4.0 … … 1104 1104 1105 1105 /** 1106 * Filter the wp_dropdown_users() HTML output.1106 * Filters the wp_dropdown_users() HTML output. 1107 1107 * 1108 1108 * @since 2.3.0 … … 1155 1155 1156 1156 /** 1157 * Filter a user field value in the 'edit' context.1157 * Filters a user field value in the 'edit' context. 1158 1158 * 1159 1159 * The dynamic portion of the hook name, `$field`, refers to the prefixed user … … 1179 1179 1180 1180 /** 1181 * Filter the value of a user field in the 'db' context.1181 * Filters the value of a user field in the 'db' context. 1182 1182 * 1183 1183 * The dynamic portion of the hook name, `$field`, refers to the prefixed user … … 1199 1199 1200 1200 /** 1201 * Filter the value of a user field in a standard context.1201 * Filters the value of a user field in a standard context. 1202 1202 * 1203 1203 * The dynamic portion of the hook name, `$field`, refers to the prefixed user … … 1323 1323 1324 1324 /** 1325 * Filter whether the provided username is valid or not.1325 * Filters whether the provided username is valid or not. 1326 1326 * 1327 1327 * @since 2.0.1 … … 1413 1413 1414 1414 /** 1415 * Filter a username after it has been sanitized.1415 * Filters a username after it has been sanitized. 1416 1416 * 1417 1417 * This filter is called before the user is created or updated. … … 1438 1438 1439 1439 /** 1440 * Filter the list of blacklisted usernames.1440 * Filters the list of blacklisted usernames. 1441 1441 * 1442 1442 * @since 4.4.0 … … 1469 1469 1470 1470 /** 1471 * Filter a user's nicename before the user is created or updated.1471 * Filters a user's nicename before the user is created or updated. 1472 1472 * 1473 1473 * @since 2.0.3 … … 1480 1480 1481 1481 /** 1482 * Filter a user's URL before the user is created or updated.1482 * Filters a user's URL before the user is created or updated. 1483 1483 * 1484 1484 * @since 2.0.3 … … 1491 1491 1492 1492 /** 1493 * Filter a user's email before the user is created or updated.1493 * Filters a user's email before the user is created or updated. 1494 1494 * 1495 1495 * @since 2.0.3 … … 1513 1513 1514 1514 /** 1515 * Filter a user's nickname before the user is created or updated.1515 * Filters a user's nickname before the user is created or updated. 1516 1516 * 1517 1517 * @since 2.0.3 … … 1524 1524 1525 1525 /** 1526 * Filter a user's first name before the user is created or updated.1526 * Filters a user's first name before the user is created or updated. 1527 1527 * 1528 1528 * @since 2.0.3 … … 1535 1535 1536 1536 /** 1537 * Filter a user's last name before the user is created or updated.1537 * Filters a user's last name before the user is created or updated. 1538 1538 * 1539 1539 * @since 2.0.3 … … 1561 1561 1562 1562 /** 1563 * Filter a user's display name before the user is created or updated.1563 * Filters a user's display name before the user is created or updated. 1564 1564 * 1565 1565 * @since 2.0.3 … … 1572 1572 1573 1573 /** 1574 * Filter a user's description before the user is created or updated.1574 * Filters a user's description before the user is created or updated. 1575 1575 * 1576 1576 * @since 2.0.3 … … 1624 1624 1625 1625 /** 1626 * Filter a user's meta values and keys before the user is created or updated.1626 * Filters a user's meta values and keys before the user is created or updated. 1627 1627 * 1628 1628 * Does not include contact methods. These are added using `wp_get_user_contact_methods( $user )`. … … 1743 1743 1744 1744 /** 1745 * Filter whether to send the password change email.1745 * Filters whether to send the password change email. 1746 1746 * 1747 1747 * @since 4.3.0 … … 1759 1759 if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) { 1760 1760 /** 1761 * Filter whether to send the email change email.1761 * Filters whether to send the email change email. 1762 1762 * 1763 1763 * @since 4.3.0 … … 1808 1808 1809 1809 /** 1810 * Filter the contents of the email sent when the user's password is changed.1810 * Filters the contents of the email sent when the user's password is changed. 1811 1811 * 1812 1812 * @since 4.3.0 … … 1863 1863 1864 1864 /** 1865 * Filter the contents of the email sent when the user's email is changed.1865 * Filters the contents of the email sent when the user's email is changed. 1866 1866 * 1867 1867 * @since 4.3.0 … … 1977 1977 1978 1978 /** 1979 * Filter the user contact methods.1979 * Filters the user contact methods. 1980 1980 * 1981 1981 * @since 2.9.0 … … 2013 2013 2014 2014 /** 2015 * Filter the text describing the site's password complexity policy.2015 * Filters the text describing the site's password complexity policy. 2016 2016 * 2017 2017 * @since 4.1.0 … … 2062 2062 2063 2063 /** 2064 * Filter whether to allow a password to be reset.2064 * Filters whether to allow a password to be reset. 2065 2065 * 2066 2066 * @since 2.7.0 … … 2142 2142 2143 2143 /** 2144 * Filter the expiration time of password reset keys.2144 * Filters the expiration time of password reset keys. 2145 2145 * 2146 2146 * @since 4.3.0 … … 2176 2176 2177 2177 /** 2178 * Filter the return value of check_password_reset_key() when an2178 * Filters the return value of check_password_reset_key() when an 2179 2179 * old-style key is used. 2180 2180 * … … 2239 2239 $sanitized_user_login = sanitize_user( $user_login ); 2240 2240 /** 2241 * Filter the email address of a user being registered.2241 * Filters the email address of a user being registered. 2242 2242 * 2243 2243 * @since 2.1.0 … … 2288 2288 2289 2289 /** 2290 * Filter the errors encountered when a new user is being registered.2290 * Filters the errors encountered when a new user is being registered. 2291 2291 * 2292 2292 * The filtered WP_Error object may, for example, contain errors for an invalid … … 2480 2480 2481 2481 /** 2482 * Filter the current user.2482 * Filters the current user. 2483 2483 * 2484 2484 * The default filters use this to determine the current user from the
Note: See TracChangeset
for help on using the changeset viewer.