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]
- is_plugin_active function doesn’t exist
- How can I find plugins’ slug?
- How to call a plugin function from index.php
- My custom made plugin has “a new version available” which links to unrelated plugin
- Where can I find a schema of wordpress plugin core architecture?
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Content generator for development site [closed]
- How to fetch serialized data from wordpress options
- Passing URL parameters to WordPress pages and pretty url
- WordPress network: set themes and plugins for new blog
- How to get the custom page get_permalink?
- How can I add a custom meta value on file upload?
- Advanced Custom Fields into functions.php
- Admin-ajax.php is dying “0” without processing function
- How do I register a stylesheet inside a WordPress widget?
- How to remove an Ajax action
- nonces in custom oop plugin
- Has anyone used require.js for handling plugin scripts?
- publish_post plugin hook doesn’t always pass $post->post_content
- Multiple files in a plugin
- Wp die causing 500 Internal Server Error?
- adding a new value to a serialized array in WP_option table
- Write to / remove from default .htaccess file from plugin?
- What is the best way to mimic a search query within a plugin
- Remove rewrite rules generated by plugin during deactivation
- Programatically download a plugin
- Call to a member function have_posts() on a non-object on normal loop
- Creating plugin using simple_html_dom parser?
- Not able to add option in Sub-Menu under page
- wp.media javascript issue with on select
- jQuery for custom plugin not working with Divi theme
- How to inform the user that the save was not successful?
- php page not found for plugin options menu
- Creating shortcodes in plugin
- Plugin to create forms using HTML [closed]
- Change plugin name on WordPress repo
- Are plugins instantiated on every request to WordPress?
- How can i create a newsletter for my wp blog? [closed]
- Render content of multiple pages and their descendants
- Why am I unable to load scripts in head in plugin?
- adding a button to the media uploader
- How do I add $_SESSION[”] to my wordpress page?
- Plugin Activation Error – The plugin generated 22 characters of unexpected output during activation
- How to use the CSS of the WordPress core in the development of my administration page?
- How can I create a page as a draft from my plugin?
- Woocommerce plugin – How to create two versions of the same plugin with slightly different implementation for different users
- Cron: Update four post at Hour
- submit two file input fields in the same form
- Unexpected character and syntax error on wp-includes/formatting.php [closed]
- Error datatable whit ajax
- Potential issue that plugin could have when it will be installed on several sites
- working code, not working – Plugin Dev
- category page multiple products add to cart any plugin available for woocommerce
- Cannot view Custom Post Type no matter what I try
- Nested Actions and Filters
- How to make a plugin api route have permission?
- Modify Plugin PHP Class in Child Theme – Correct Method
- Problem with conditional woocommerce custom checkout field
- Plugin to Delete All Posts Monthly
- mailjet plugin – extend functionnalities and reuse api
- Change wp_mail SMTP settings for each E-Mail
- WordPress Thumbnail add action if no thumbnail
- How can I add the custom taxonomy categories to the posts and pages?
- Creating fields in the database
- Allow users to enter and edit data in one-to-many configuration
- Pass strings to plugin function [closed]
- How to create a page template using custom plugin
- add_meta_box showing blank screen in my page
- is_user_logged_in() undefined at shutdown in plugin context
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Plugin translations are not loaded from translate.wordpress.org
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class