ap_update_user_reputation_meta( integer|bool $user_id = false )
Description #
Update user reputation meta.
Parameters #
- $user_idinteger | bool (Optional) User id. Default value: false
Source #
File: includes/reputation.php
function ap_update_user_reputation_meta( $user_id = false ) { if ( false === $user_id ) { $user_id = get_current_user_id(); } update_user_meta( $user_id, 'ap_reputations', ap_get_user_reputation( $user_id ) ); // @codingStandardsIgnoreLine }
Expand full source code Collapse full source code View on GitHub: includes/reputation.php:286
Add your comment