{"id":4258,"date":"2017-12-14T21:12:19","date_gmt":"2017-12-14T21:12:19","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/12\/14\/how-to-find-your-wordpress-user-id\/"},"modified":"2021-08-16T22:29:41","modified_gmt":"2021-08-17T02:29:41","slug":"how-to-find-your-wordpress-user-id","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/","title":{"rendered":"How to Find your WordPress User ID"},"content":{"rendered":"<pre><code>        There are many reasons why you may need to access background information about your &lt;a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\"&gt;WordPress&lt;\/a&gt; installation, especially if you are considering going deeper with your WordPress development. Customizing your WordPress site may often require special back-end data you can only find in your WordPress database. In this article, we are going to learn &lt;strong&gt;how to find your WordPress User ID&lt;\/strong&gt; number.       &lt;\/p&gt; &lt;h2&gt;Find WordPress User ID via phpMyAdmin&lt;\/h2&gt; &lt;ol class=\"article_list\"&gt; &lt;li&gt;&lt;a href=\"\/support\/images\/stories\/cpanel\/lanternUpdatesMay17\/cmPape_03.png\" rel=\"lightbox-0\"&gt;&lt;img class=\"std_ss\" src=\"\/support\/images\/stories\/cpanel\/lanternUpdatesMay17\/cmPape_03.png\" style=\"float:right;margin:0px 15px 15px 15px;width:200px;\"\/&gt;&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;&lt;a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\"&gt;Log into cPanel&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;&lt;\/li&gt; &lt;li&gt;&lt;!-- findWPUser_-01.png --&gt;&lt;a href=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-01.png\" rel=\"lightbox-0\"&gt;&lt;img class=\"std_ss\" src=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-01.png\" style=\"float:right;margin:0px 15px 15px 15px;width:200px;\"\/&gt;&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;Under &lt;em&gt;Databases&lt;\/em&gt; select &lt;b&gt;phpMyAdmin&lt;\/b&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;&lt;\/li&gt; &lt;li&gt;&lt;!-- findWPUser_-02.png --&gt;&lt;a href=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-02.png\" rel=\"lightbox-0\"&gt;&lt;img class=\"std_ss\" src=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-02.png\" style=\"float:right;margin:0px 15px 15px 15px;width:200px;\"\/&gt;&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;Select the database for your WordPress installation&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;&lt;\/li&gt; &lt;li&gt;&lt;!-- findWPUser_-03.png --&gt;&lt;a href=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-03.png\" rel=\"lightbox-0\"&gt;&lt;img class=\"std_ss\" src=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-03.png\" style=\"float:right;margin:0px 15px 15px 15px;width:200px;\"\/&gt;&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;Select &lt;em&gt;users&lt;\/em&gt; table&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;&lt;\/li&gt; &lt;\/ol&gt; &lt;br\/&gt; &lt;p&gt;&lt;a href=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-04.png\" rel=\"lightbox-0\"&gt;&lt;img class=\"std_ss\" src=\"\/support\/images\/stories\/wordpress-development\/general\/findWPUser_-04.png\" style=\"float:right;margin:0px 15px 15px 15px;width:200px;\"\/&gt;&lt;\/a&gt;&lt;div style=\"clear:both;\"&gt;&lt;\/div&gt;    Now that you are in the &lt;em&gt;users&lt;\/em&gt; table, you will see all registered users in your WordPress site. In this example pictured, there is only one registered user. You will find the user ID number in the &lt;b&gt;ID&lt;\/b&gt; column. &lt;div style=\"clear:both;\"&gt;&lt;\/div&gt; &lt;\/p&gt; &lt;h2&gt;Using SSH and WP-CLI&lt;\/h2&gt; &lt;p&gt;               Using SSH and WP-CLI requires some knowledge in using the Linux command line.           &lt;\/p&gt; &lt;ol class=\"article_list\"&gt; &lt;li&gt;Log into your server via &lt;a href=\"\/support\/server\/ssh\/ssh-advantages\/\"&gt;SSH&lt;\/a&gt;&lt;\/li&gt; &lt;li&gt;Use the &lt;code&gt;cd&lt;\/code&gt; command to navigate to the directory which contains your WordPress core files&lt;\/li&gt; &lt;li&gt;Enter the following command to list your WordPress users&lt;br\/&gt;&lt;pre class=\"code_block\"&gt; wp user list &lt;\/pre&gt;&lt;\/li&gt; &lt;\/ol&gt; &lt;p&gt;  The &lt;code&gt;wp user list&lt;\/code&gt; command will list the WordPress users and the ID numbers in columns and fields, and you will be able to see the number assigned to your user.  &lt;\/p&gt; &lt;p&gt;     Well done! You now know how to find WordPress user IDs in the WordPress database via phpMyadmin and using SSH and the WP-CLI. \n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>There are many reasons why you may need to access background information about your &lt;a href=&#8221;https:\/\/www.inmotionhosting.com\/wordpress-hosting&#8221;&gt;WordPress&lt;\/a&gt; installation, especially if you are considering going deeper with your WordPress development. Customizing your WordPress site may often require special back-end data you can only find in your WordPress database. In this article, we are going to learn &lt;strong&gt;how<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-4258","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Find your WordPress User ID | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article, we&#039;ll show you how you can find your WordPress user ID for development purposes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Find your WordPress User ID | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article, we&#039;ll show you how you can find your WordPress user ID for development purposes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-14T21:12:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T02:29:41+00:00\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How to Find your WordPress User ID\",\"datePublished\":\"2017-12-14T21:12:19+00:00\",\"dateModified\":\"2021-08-17T02:29:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\"},\"wordCount\":7,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\",\"name\":\"How to Find your WordPress User ID | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2017-12-14T21:12:19+00:00\",\"dateModified\":\"2021-08-17T02:29:41+00:00\",\"description\":\"In this article, we'll show you how you can find your WordPress user ID for development purposes.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Find your WordPress User ID\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Find your WordPress User ID | InMotion Hosting","description":"In this article, we'll show you how you can find your WordPress user ID for development purposes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/","og_locale":"en_US","og_type":"article","og_title":"How to Find your WordPress User ID | InMotion Hosting","og_description":"In this article, we'll show you how you can find your WordPress user ID for development purposes.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-12-14T21:12:19+00:00","article_modified_time":"2021-08-17T02:29:41+00:00","author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How to Find your WordPress User ID","datePublished":"2017-12-14T21:12:19+00:00","dateModified":"2021-08-17T02:29:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/"},"wordCount":7,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/","name":"How to Find your WordPress User ID | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2017-12-14T21:12:19+00:00","dateModified":"2021-08-17T02:29:41+00:00","description":"In this article, we'll show you how you can find your WordPress user ID for development purposes.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-find-your-wordpress-user-id\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Find your WordPress User ID"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4258"}],"version-history":[{"count":1,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4258\/revisions"}],"predecessor-version":[{"id":83812,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4258\/revisions\/83812"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}