protected function _createObject( $args ) {
		$user_id = wp_insert_user( $args );
		if ( $user_id && ! is_wp_error( $user_id ) ) {
			$this->_debug( 'Generated user with ID: ' . $user_id );
		} elseif ( is_wp_error( $user_id ) ) {
			$this->_debug(
				'User generation failed with message [%s] %s',
				$user_id->get_error_code(),
				$user_id->get_error_message()
			);
		} else {
			$this->_debug( 'User generation failed' );
		}


		return $user_id;
	}
protected function _createObject( $args ) {
		$user_id = wp_insert_user( $args );
		if ( $user_id && ! is_wp_error( $user_id ) ) {
			$this->_debug( 'Generated user with ID: ' . $user_id );
		} elseif ( is_wp_error( $user_id ) ) {
			$this->_debug(
				'User generation failed with message [%s] %s',
				$user_id->get_error_code(),
				$user_id->get_error_message()
			);
		} else {
			$this->_debug( 'User generation failed' );
		}


		return $user_id;
	}
protected function _createObject ( $ args ) { $ user_id = wp_insert_user ( $ args ) ; if ( $ user_id && ! is_wp_error ( $ user_id ) ) { $ this -> _debug ( 'Generated user with ID: ' . $ user_id ) ; } elseif ( is_wp_error ( $ user_id ) ) { $ this -> _debug ( 'User generation failed with message [%s] %s' , $ user_id -> get_error_code ( ) , $ user_id -> get_error_message ( ) ) ; } else { $ this -> _debug ( 'User generation failed' ) ; } return $ user_id ; }
Generates a new user.

@since 1.0.0

@access protected
@param array $args The array of arguments to use during a new user creation.
@return int|\WP_Error The newly created user's ID on success, otherwise a WP_Error object.
Generates a new user .