Problem solved
Thanks to @TomJNowell
Solution:
- make a directory under the
wp-contentdirectory and name itmu-plugins - then move your plugin directory (for example woocommerce) in
wp-content/mu-plugins - after that you have to call it for your WordPress by crating a file and name it
load.php - introduce the plugin bin
load.phpfor example:
<?php require WPMU_PLUGIN_DIR.'/woocommerce/woocommerce.php';
Done 🙂
Related Posts:
- How to check if a theme is active?
- how to get path to images in the uploads folder to be used in a plugin
- How to maintain W3C standards compliance of a theme
- Difference between a theme and a plugin?
- How can I have two different urls for the same page that load two different templates?
- All shortcodes not working on custom theme
- How to enable edit button in the theme’s customize UI?
- Disable plugins on cron and ajax page
- Is it good practice to remove redundant plugins and themes?
- Ship plugin with a custom theme
- Declare a function before plugin does on the theme functions.php file
- How to solve a conflict between a plugin and a theme?
- WP Config for FTP credentials
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- Whats the difference between Page Builder Plugins and Theme Builder Softwares? [closed]
- How to use load_plugin_textdomain from within a theme
- Theme and Plugins sharing common libraries
- Workflow and best practice for documentation [closed]
- Is there a quick way to inject i18n domain into theme/plugin files?
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- Can I share predefined fonts from theme_support with a gutenberg component?
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- How can I measure the performance of any WordPress Plugin or Theme?
- add_action in functions.php, do_action in plugin?
- Implement plugins as part of a theme
- How can I list recent posts excerpts?
- Theme or Plugin: Where should I write my code?
- Plugin Deactivate Self on Activation Errors
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Do I still need a theme to use page builders?
- Two (or more) looks, with one set of content
- Can I make a super plugin that also has a theme?
- Prevent WordPress installing plugins and themes via Admin
- Plugin Handle URL With Custom Theme
- How to read individual user’s directory and display content to that specific user?
- WSOD after upgrading to 3.1
- Check for security updates
- Plugin-generated pages use Not Found or Pages Archive templates?
- Is there any kind of theme on WordPress to sell my own movies?
- All sites themes functions.php have been changed
- Error when using plugin QuickCache with plugin Mobile Smart ? [closed]
- How do I find out what is in control over a certain part of a website?
- How do I combine a theme with a plugin
- Where are theme codes located for WordPress?
- Overwrite category head title
- Create a single website with 3 theme options in wordpress
- using do_shortcode
- How to get menu location in wp_update_nav_menu hook
- Use different single.php file based on condition
- Which wordpress theme is compatible Optima Express theme (real estate inventory) plugin?
- How to Include File from Plugins into Template?
- issue in wp_localize_script
- How to remove products-links after the product title using remove_action
- Licensing options for WordPress Plugins
- How I update WordPress theme and plugins
- Overwrite add_image_size defined by theme
- Don’t load the theme for a page FROM a plugin EDITED
- Extending a theme: build new features as plugin or core modules?
- Detect plugin/theme installation (via upload)
- is there a way to pass a parameter to a add_menu_page function?
- Is there a Image Gallery which will load all my posted Images like twitter’s image grid?
- What is the most efficient way of adding additional functionaliy for admin only
- How do I work with the SlideDeck plug-in?
- Plugin Admin panel checkbox unchecked after submit
- “User need to be logged in in order to make a booking” issue
- Custom Plugin scripts from admin working in frontend
- admin-ajax.php 500 error when new users try to register
- Scrape key check failed. Please try again
- Elementor Sidebar not loading when PRO elements plugin is active
- Disable WordPress Theme Browser and Plugin Browser
- Sold out Label for variable products which are partially sold out
- Create automatic latest version link
- How to Access a file that is inside a plugin’s dir from the theme’s `functions.php` file
- how to display a template.php in a shortcode
- dokan edit functionality
- how to split and upload a theme on wordpress?
- Fatal error: Class ‘RDTheme’ not found
- How to fix blog article view and share #’s?
- When the user entered an unauthorized url redirect to login page
- how to add navigation icons in specific template?
- I want add repository theme folder
- Shows warning when enable “wp_gallery_custom_links” plugin with Themify Builder
- Speed issues because of CSS & JavaScript
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- How to tell if a script is being executed from a plugin, a theme or a child theme in WordPress?
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- How can I modify the colors of my theme for a single section of my site? [closed]
- How to work email subscribe in WordPress?
- how to change location of the plugins & wordpress themes folder
- Extra Text in Home URL
- Javascript as Jquery Function Call?
- Self-hosted Plugins & Themes store with auto-updates? [closed]
- How to escape html code?
- Elementor with system colors instead of kit colors [closed]
- Very slow page loads
- WordPress theme is not displaying the correct home page in the Pages section
- How to create new title and its description inside a section in WP Customizer?
- Allowing users to install a predefined bundle of plugins and themes with one action
- Custom page template from plugin does not work with pre-installed themes in WordPress 6.6.1