Changeset 13255
- Timestamp:
- 03/05/2022 03:03:31 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-functions.php
r13239 r13255 943 943 * @since 1.6.0 944 944 * 945 * @param bool $is_spammer Whether or not user is marked as spammer. 946 */ 947 return apply_filters( 'bp_is_user_spammer', (bool) $is_spammer ); 945 * @param bool $is_spammer Whether or not user is marked as spammer. 946 * @param \WP_User $user The user to which we are acting on. 947 */ 948 return apply_filters( 'bp_is_user_spammer', (bool) $is_spammer, $user ); 948 949 } 949 950 … … 1011 1012 * @since 1.6.0 1012 1013 * 1013 * @param bool $is_deleted Whether or not user is marked as deleted. 1014 */ 1015 return apply_filters( 'bp_is_user_deleted', (bool) $is_deleted ); 1014 * @param bool $is_deleted Whether or not user is marked as deleted. 1015 * @param \WP_User $user The user to which we are acting on. 1016 */ 1017 return apply_filters( 'bp_is_user_deleted', (bool) $is_deleted, $user ); 1016 1018 } 1017 1019
Note: See TracChangeset
for help on using the changeset viewer.