Depends on your plugin. I prefer to use plugins with the minimal functionality that meets my needs. Less configuration options, less documentation to read, and hopefully less bugs.
You also need to think on the upgrade process. If you make a change in a big plugin I should look into upgrading it even if the change is in a functionality I don’t use, and upgrades are always risky or take time to test.
Therefor, if you can break up your functionality into several plugins, that is the way to go IMO. But if it is not possible for what you do, then before you think about distributing addons for your plugin, think how are they going to be installed and upgraded. Unless you have a good plan for managing the addons I suggest you distribute them with the main plugin and then you can directly include them without the need for GLOB_ONLYDIR
.
Related Posts:
- Do deactivated plugins slow down a WordPress site?
- Restricting a Plugin to Only Load its CSS and JS on Selected Pages?
- How can I modify what is being output in wp_head, whether by a theme or WordPress in general?
- How can I reduce the amount of files loaded/included per plugin?
- For performance is it better to build custom functionality into the theme or a plugin
- Multiple plugins vs combined one
- WordPress tips for speed and performance [closed]
- Do Plugins effect site loading time?
- WordPress shortcodes & performance
- Changing BIGINT to INT
- Prevent CSS/JS loading when plugin is not used
- How to see list of plugins
- Is it ok to call get_option without hooks?
- WordPress web page struggling with performance
- How do I know which plugin uses the most resource?
- How can I measure the performance of any WordPress Plugin or Theme?
- prettyPhoto media loading very slowly in Chrome
- How to load plugin after page is loaded – pagespeed issues
- WordPress takes too much time (100 seconds) to load – Front end and back end
- WordPress performance – W3 Total Cache and memcached/APCu
- how to find and correct plugin query performance issues
- Correct way to perform non-cacheable DB query
- What’s the best way to implement AJAX in WordPress?
- Does using WP-cron make the site slower for the user?
- page loading time of a cached page
- Will Gutenberg Have a Negative Impact on Page Speed?
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Improving the perfomance of a plugin action
- Namespaced shortcode?
- Does heavy theme and plugins affect server’s response time? [closed]
- One sub site is slow while all others load fine, same theme & plugins [closed]
- What are the performance hiccups when building plugins?
- WordPress stats: OWA plugin overhead in the future
- Performance impact with inactive plugins? [duplicate]
- (WordPress 5.8.3) Function.php or a plugin for better performance? [duplicate]
- Plugin has added weird data in wp_options, set to autoload
- Super slow plugin page (lots of error 500)
- Profile / benchmark wordpress on apache?
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- Minification Plugins break my website
- “Disable” specific plugins on certain pages
- is there a way to preload specific images for desktop users only? (excluding mobile users)
- How to remove Unused CSS From a WordPress Theme?
- Profiling the initial PHP file, anyone, that get like 10 seconds to load
- Searched & tried a lot: Is it Possible to Eliminate Render Blocking Manually
- API calls on plugin activation or init?
- Is saving multiple options or saving multiple items in one option better?
- Very Slow loading. Plugins report provided by P3 included
- Plugins to generate CSS Sprites? [closed]
- Combining JS files to one script
- Eliminate Render blocking CSS?
- How to debug periodic performance issue
- Is option_active_plugins actually doing anything useful?
- Hidden Elementor sections slow down website. How to fix this? [closed]
- How can i store cache of wordpress a database request without plugins?
- How can I wordpress cache a database request with no existing plugin?
- How MUST the directory for a plugin be structured?
- Is there a WordPress plugin that registers a plugin file as a custom page template?
- SSL redirect loop using WordPress HTTPS Plugin
- InDesign to WordPress workflow
- Let readers suggest edits from the frontend
- Is it possible to uninstall one plugin from within another plugin?
- Language Translation is not working?
- Enable/Disable WP options programmatically
- Could not create directory
- Plugin and theme script load order
- Shortcode button dosent work for all posts. Work for first post only
- Single central login for front end users from any site
- Plugin stable tag on wordpress.org not updating
- Plugin Handle URL With Custom Theme
- how to disable blockrenderAppender inside all Innerblocks?
- auto populate list of questions if user select a category xyz
- Change commission_status paid when withdraw_status vendor is completed
- Grab WordPress Salt Data From URL
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Proper way to replace the_content only for pages created by custom plugin
- Add category selection to custom post type (plugin)
- How to install plugin only from PHP file?
- Show author on every sub-page
- Only allowing some emails to create an account [closed]
- AJAX on Front-End Button Click not working – Custom Plugin
- Get ‘Headers already sent’ error for the plugin I am creating when I try to login
- Plugin to email a post or page to someone
- Make plugin php file called directly aware of WordPress?
- WordPress’s is_plugin_active_for_network function not working for multisites
- How to use existing hook in twentytwelve to all theme of wordpress?
- WordPress get the latest plugin installed details
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- How to Join wp_posts & wp_postmeta table using custom query
- Cron task gets removed from the schedule
- My wordpress local urls is still displayed even moved to live
- How to Unhook actions/filters in within Class in plugin
- How to show private pages based on a user’s role?
- Create csv file in plugin
- WooCommerce doesn’t show UK countries in the shipping options [closed]
- How to edit a non logged in page?
- Multiple Post Thumbnails Not Returning URL for Background Image
- Is there any WordPress Plugin that provides video editing from front end side? [closed]
- Disappearing plugins