get_user_by( 'id', get_current_user_id() )
function get_customerorderid(){ global $post; $order_id = $post->ID; // Get the user ID $user_id = get_post_meta($order_id, '_customer_user', true); return $user_id; }
Sepetinizde ürün bulunmuyor.
Kullanıcı adı veya e-posta adresi *
Parola *
Beni hatırla Parolanızı mı unuttunuz?
Giriş Yap