You appear to be a bot. Output may be restricted
Description
Determines if the user account is pending verification. Pending accounts cannot view purchase history
Usage
edd_user_pending_verification( $user_id );
Parameters
- $user_id
- ( mixed ) optional –
Returns
void bool
Source
File name: easy-digital-downloads/includes/user-functions.php
Lines:
1 to 16 of 16
function edd_user_pending_verification( $user_id = null ) { if( is_null( $user_id ) ) { $user_id = get_current_user_id(); } // No need to run a DB lookup on an empty user id if ( empty( $user_id ) ) { return false; } $pending = get_user_meta( $user_id, '_edd_pending_verification', true ); return (bool) apply_filters( 'edd_user_pending_verification', ! empty( $pending ), $user_id ); }