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?
- When to store store plugin options as a single database record?
- WordPress Website is very slow after migration
- Website show Google Ads when we have no Google Ads linked to our website
- How to set “split_on_numerics” to false in ElasticSearch mapping using ElasticPress? (for proper SKU search in WooCommerce) [closed]
- Sticky option for custom post types without using custom fields or plugins
- My plugins are ending up above the header?
- Let users sell video in my website [closed]
- Change letters for day name
- Where should custom post types be registered in a plugin?
- Keeping and updating ACF and ACF Pro at the same time
- Pass user role to javascript code inside body
- A plugin that downloads other plugins
- Php page with filters for custom fields
- How to be escape Variables and options when echo?
- Basic question about accessing scripts in my plugin
- Gutenberg Blocks – Cannot retrieve block saved attributes in edit post
- plugins not working in custom theme
- How to use template_include hook with form submission?
- Adding Plugin Assets to Header
- Release the plugin in the WordPress repository where redux is used
- How to Define Multiple List Tables in a Single Submenu
- Add item to the woocommerce dashboard menu from a plugin
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- Add type to enqueued script inside plugin
- Dokan Marketplace store link in single product page
- How can I redirect some pages to new subdomain? [closed]
- Automatically download, install and activate plugins that my plugin depends, how?
- Integrating boxtal PHP library into a custom WordPress Plugin
- wp-mail attachment is not sent for no reason?
- Translations for my plugin don’t show up
- Changing menu order of a specific plugin in dashboard
- Error in pdf generating plugin using FPDF
- syntax error, unexpected ‘while’ (t_while) please help :)
- How to create WordPress custom end point with multiple parameters?
- Different custom templates for product category [closed]
- Text change in Advanced Customs Fields [closed]
- How to remove bulk actions from custom post type
- After updating the WordPress getting a syntax error in the console
- Images under 1MB are not being compressed
- How to check wp_options’s rewrite_rules if current and existing are the same before flush the rules?
- What is the easiest way to rename a plugin (and also avoid plugin updates)
- Setting Email locale before retrieving gettext translations
- Changes not visible when not logged in