I think you will more likely receive responses to your question if you provide a bit more information, at the moment your question is very vague so it’s not clear what you are trying to achieve.
From the little information you’ve provided it sounds like you want to limit how many people can access your site simultaneously. If this is desired from a performance perspective, for instance as a way to keep your site running well then this is something you’d need to do lower down in the server stack.
A user would have to come to your site and access content running on WordPress in order for a plugin to be triggered, but by that time you’ve already used a lot of resources to achieve that. Limiting user access within the web server software such as Apache or Nginx would be preferable for this.
Related Posts:
- Who are the most trusted plugin developers? [closed]
- How Does WordPress Uninclude/Deactivate A Plugin?
- WordPress plugin for mail subscriptions [closed]
- Let user subscribe to specific categories
- Is there a way to alter the order in which the plugins appear in the page?
- How can I implement a notification system in wordpress?
- How to make a customize role and view a specific plugins base on that role?
- Woocommerce plugin for minimum order and add-to-card-step
- How would I go about creating a user ranked post popularity page?
- Create a plugin from within WordPress
- Can I use Symfony components in a plugin that I want to submit to the WordPress plugin repository?
- How to automatically add edit link on frontpage post of any wordpress theme?
- creating a plug in that would tap into save/update action of posts [closed]
- breadcrumb need to show all pages and subpages
- Possible?? Pull Plugin Property Data to a Theme’s Custom Post Type
- How to use existing hook in twentytwelve to all theme of wordpress?
- How to get Recent Post From Each Category with Thumbnail?
- Personality quiz in wordpress using a plugin
- Access remote SFTP server via WordPress login?
- Create survey that redirects to sidebar menu customized to answers
- Using Taxonomies with Vote It Up plugin chart [closed]
- How can I create a navigation menu in the sidebar that can also act like a slider?
- contact form 7 captcha support anyother captcha plugin? [closed]
- Take Elementor For Email FIeld Check if user is registered. IF not registered then register on woocommerece
- how to make wordpress remember my choice
- I’m getting the following error: Fatal error: Uncaught Error: Call to undefined function oil_paint_regeneration() [closed]
- What are Seeds? [closed]
- WordPress site server getting blocked due to resource abuse
- LinkedIn Social Wall | Is there a plug-in (Free / Paid) to display a LinkedIn feed in a social wall (not just a feed)?
- How can I make 2 plugins that include different versions of a framework to both use the latest version?
- creating html reusable blocks via shortcodes
- Add Plugin options as subpage to Theme options page
- Is there any kind of theme on WordPress to sell my own movies?
- Image upload and download from front-end
- Create a navbar filter that filters by a custom field
- Change commission_status paid when withdraw_status vendor is completed
- Passing an array from shortcode-function to filter-function
- custom payment gateway in woocommerce failed to connect to remote api server
- wp_remote_get() returns 403 while file_get_contents() does not
- Single API call exposed via shortcode with params
- Plugin options page with live preview?
- Using SVN to upload plugin created with gutenberg blocks
- Force quit running background job
- Modifying Author Link to add Author Meta in URL
- How to output CMB2 select options from repeated groups select elements?
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- Get Time Taken By Each Action Hook in WordPress
- How to export post 2 posts WordPress plugin data [closed]
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- Trying to create a private area custom for each user where they upload images to a server [closed]
- WordPress plugin creation how to execute .sql in order to insert multiple rows at activation of plugin
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- get 404 when accessing wp-admin/plugin-install.php
- What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
- Plugin: register_deactivation_hook works perfectly well, while register_activation_hook suddenly stopped working
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- I want to auto populate data in three fields if one drop down is selected
- Best place for if/else piece of code related to custom plugin?
- How do you assign a UUID to posts/products/comments/reviews?
- Best way to initiate a class in a WP plugin?
- correct way to include a library(and its dependent libraries) in wordpress development
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- Issue Tracker from pre exsisting table [closed]
- How to make a implement queue for scheduling tasks in WordPress?
- Session destroyed on page redirect
- WordPress Plugin [closed]
- wp.media javascript issue with on select
- Is there a way to test that readme looks in other language before submitting translation?
- WordPress plugin/theme or other wayout to create portable pages?
- What are the specifics of WordPress development I need to know? [closed]
- Insert data from .sql file in wordpress plugin
- WP_Async_Task doesn’t appear to be running asynchronously
- jQuery for custom plugin not working with Divi theme
- How can I make my metabox appear?
- Ajax call returning 0
- How can i get the post’s full html source by its ID?
- How to set add question capability for author role in wp pro quiz plugin
- Consolidate plugin functionality into a theme
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Force file download on plugin activation
- How to inform the user that the save was not successful?
- php page not found for plugin options menu
- qTranslate remove default directory from link
- How to update post’s content on post publish?
- Homemade plugin while using Themify Ultra
- How to deal with WordPress and Pocket API to automate content curation on my hosted wordpress blog? [closed]
- Custom plugin init action causing general slowness
- WP All Import – Execute Imports
- WordPress Backend HA (Automatic failover)
- Checkbox conflict in my custom plugin admin page
- How to replace WordPress Media Upload Window with user’s device window?
- Conditional attributes and logic per product category
- Buidling a translate plugin for wordpress
- Why Is This Code Causing The Admin Bar to Disappear?
- How to set taxonomy in custom plugin?
- Plugin development: Buggy plugin preview
- Customization API for plugin development
- User switching only with specific role and return
- how to use in custom single.php template using php?
- Force language in translate function