Deze pagina is aleen voor leden van de VGC
function qode_get_current_user_info() {
$current_user = wp_get_current_user();
if ( ! ( $current_user instanceof WP_User ) ) {
return;
}
echo sprintf( __( 'Username: %s,
', 'textdomain' ), esc_html( $current_user->user_login ) ); echo sprintf( __( 'User email: %s,
', 'textdomain' ), sanitize_email( $current_user->user_email ) ); echo sprintf( __( 'User first name: %s,
', 'textdomain' ), esc_html( $current_user->user_firstname ) ); echo sprintf( __( 'User last name: %s,
', 'textdomain' ), esc_html( $current_user->user_lastname ) ); echo sprintf( __( 'User display name: %s,
', 'textdomain' ), esc_html( $current_user->display_name ) ); echo sprintf( __( 'User ID: %s', 'textdomain' ), esc_html( $current_user->ID ) ); }
', 'textdomain' ), esc_html( $current_user->user_login ) ); echo sprintf( __( 'User email: %s,
', 'textdomain' ), sanitize_email( $current_user->user_email ) ); echo sprintf( __( 'User first name: %s,
', 'textdomain' ), esc_html( $current_user->user_firstname ) ); echo sprintf( __( 'User last name: %s,
', 'textdomain' ), esc_html( $current_user->user_lastname ) ); echo sprintf( __( 'User display name: %s,
', 'textdomain' ), esc_html( $current_user->display_name ) ); echo sprintf( __( 'User ID: %s', 'textdomain' ), esc_html( $current_user->ID ) ); }