{"id":1953380,"date":"2022-06-24T10:21:33","date_gmt":"2022-06-24T14:21:33","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1953380"},"modified":"2026-04-21T11:34:47","modified_gmt":"2026-04-21T15:34:47","slug":"how-to-block-a-wordpress-user","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/how-to-block-a-wordpress-user\/","title":{"rendered":"How to Block a WordPress User"},"content":{"rendered":"\n<p>The situation may come up where you&#8217;d like to block a WordPress user from doing additional things on your WordPress site, like adding events, purchasing tickets, or interacting with your content in general.<\/p>\n\n\n\n<p>Deleting their account entirely is one way to achieve this, but if the user has already added events with <a href=\"https:\/\/theeventscalendar.com\/products\/community-events\/\" target=\"_blank\" rel=\"noreferrer noopener\">Community Events<\/a>, or purchased tickets, you&#8217;ll need to reassign any of their content to another user.<\/p>\n\n\n\n<p>Instead of going through this hassle, you can lock their account, with the help of a third-party plugin. <\/p>\n\n\n\n<p>Let&#8217;s take a look at how to make this happen!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-lock-user-account\">Install Lock User Account<\/h2>\n\n\n\n<p>The first thing you\u2019ll want to do is install the free third-party plugin, <a href=\"https:\/\/wordpress.org\/plugins\/lock-user-account\/\" target=\"_blank\" rel=\"noreferrer noopener\">Lock User Account<\/a>. To learn more about how to install a plugin, check out\u00a0<a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/downloading-and-installing-the-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">this Knowledgebase article<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/Screen-Shot-2022-06-24-at-11.42.50-AM.png\" alt=\"Install Lock User Account\" class=\"wp-image-1953381\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/evnt.is\/1b8t\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/banner-ad-tec-demo-site-1024x384.png\" alt=\"\" class=\"wp-image-1953386\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-block-a-wordpress-user\">Block a WordPress User<\/h2>\n\n\n\n<p>Once you have the plugin installed, simply head over to the <strong>WordPress Dashboard > Users<\/strong> > <strong>All Users<\/strong>.<\/p>\n\n\n\n<p>Select the checkbox next to the user you&#8217;d like to block. Go to the <strong>Bulk<\/strong> <strong>Actions<\/strong> dropdown menu, choose <strong>Lock<\/strong> and click <strong>Apply<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/Screen-Shot-2022-06-24-at-11.55.43-AM.png\" alt=\"Block a WordPress user \" class=\"wp-image-1953382\"\/><\/figure>\n\n\n\n<p>Once you do, you&#8217;ll see that the chosen account has been locked.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/Screen-Shot-2022-06-24-at-12.06.17-PM.png\" alt=\"WordPress user is now blocked\" class=\"wp-image-1953383\"\/><\/figure>\n\n\n\n<p>When this user tries to log in, they&#8217;ll see a message that their account is locked and they will not be able to log in to your WordPress site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/Screen-Shot-2022-06-24-at-12.10.45-PM.png\" alt=\"Account is locked \" class=\"wp-image-1953384\" width=\"377\" height=\"450\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The situation may come up where you&#8217;d like to block a WordPress user from doing additional things on your WordPress site, like adding events, purchasing tickets, or interacting with your content in general. Deleting their account entirely is one way to achieve this, but if the user has already added events with Community Events, or&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[46],"tags":[341,47],"stellar-product-taxonomy":[161],"class_list":["post-1953380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integrations","tag-general","tag-integrations","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":46,"label":"Integrations"}],"post_tag":[{"value":341,"label":"general"},{"value":47,"label":"Integrations"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":46,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":54,"filter":"raw","term_order":"0","cat_ID":46,"category_count":54,"category_description":"","cat_name":"Integrations","category_nicename":"integrations","category_parent":0}],"tag_info":[{"term_id":341,"name":"general","slug":"general","term_group":0,"term_taxonomy_id":341,"taxonomy":"post_tag","description":"","parent":0,"count":76,"filter":"raw","term_order":"0"},{"term_id":47,"name":"Integrations","slug":"integrations","term_group":0,"term_taxonomy_id":47,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1953380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1953380"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1953380\/revisions"}],"predecessor-version":[{"id":1955835,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1953380\/revisions\/1955835"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1953380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1953380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1953380"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1953380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}