What are Dependent WordPress plugins or Dropins? WordPress Help

If the other day we saw what are the essential plugins, mu-plugins or Must use today we talk about another special type of plugins, the so-called Dropins identified as plugins Dependents which we sometimes find on the WordPress plugins page without knowing what they do it or who put them there, which makes them even more mysterious, because at least the essential ones mu-plugins were put by us.

Yes, today we have to talk about the WordPress plugins ] Dropins or dependent plugins .

What are plugins Dropins or dependent?

There are some WordPress functionalities that can be replaced with so-called Dependent plugins or dropins . They are PHP files located in different locations of your WordPress installation, which are included to perform specific actions.

WordPress allows adding additional functionalities to those included in its core through plugins, as well as through hooks and actions , but also allows to replace functionalities by using files Dropins which will be displayed in the form of plugins Dependents .

In contrast to plugins, a Dropin does not have to be activated, in fact, like the mu-plugins are activated by placing the file in the folder wp-content otherwise you have changed it with the variable WP_CONTENT_DIR in the file wp-config.php .

Actually, even if you see them in the plugins screen the Dropins also as the [1945901] 0] mu-plugins are not plugins in the strict sense because they do not have to be plugins, nor have their structure, are only PHP files .

An example of the use of Dropins does the same WordPress, which includes files Dropin in the same kernel, as the use that makes maintenance.php using the constant WP_CONTENT_DIR .

They include and activate other specific tasks or plugins, such as dropin db.php which is loaded to replace the default PHP class of the database. Using the dropins you can replace, in this example, that class by a faster, more stable and more secure one.

The Dropins exist since making several versions of WordPress, and the specific ones of multisite from version 3.0.

You can use the Dropins to improve the possibilities of the cache, especially for APC and Memcache, as for example the plugin SuperCacher of SiteGround which I use in almost all of my websites. But they can also be used to make adjustments to permanent links, file uploads and almost anything.

When you put files Dropin in the folder wp-content you can see them on the screen of maintenance of plugins, in the route: https://tusitio.es/wp-admin/plugins.php?plugin_status=dropins or by clicking on the tab Dependent / s of the screen of plugins from your desktop if you prefer.

 plugins-wordpress-dropins-dependent "width =" 838 "height =" 284 "srcset =" https://ayudawp.com/ wp-content / uploads / 2016/09 / plugins-wordpress-dropins-dependents-840x285.png 840w, https://ayudawp.com/wp-content/uploads/2016/09/plugins-wordpress-dropins-dependientes-550x186 .png 550w, https://ayudawp.com/wp-content/uploads/2016/09/plugins-wordpress-dropins-dependientes-768x260.png 768w, https://ayudawp.com/wp-content/uploads/2016 /09/plugins-wordpress-dropins-dependientes.png 912w "sizes =" (max-width: 838px) 100vw, 838px "/> </a></p>
<h2><span id= How many Dropins or Dependent plugins are there?

If you want to see a list of Dropins WordPress available there is a function in /wp-admin/includes/plugin.php called _get_dropins () which will display the following list of Dropins . [19659048] ARCHIVE TYPE OF DROPIN ACTIVE IN CONTEXT advanced - cache . php Advanced or alternative cache Constant yes WP_CACHE is TRUE simple WordPress db . php Class database Always Simple WordPress db - error . php Error alert in the database [19659058] In DB Error [19659058] simple WordPress install . php Routine installation In installation WordPress simple maintenance . php Maintenance message In updates and maintenance WordPress simple object - cache . php External Object Cache Always Simple WordPress sunrise . php ] Before loading the installation of WP Multisite If you define the constant SUNRISE Multisite blog - deleted [19659053]. php Message when a blog is deleted If a blog is deleted Multisite blog - [19659054] inactive . php Message when a blog is inactivated If a blog is inactivated Multisite blog ] - suspended . php Message when a blog is suspended When a blog is marked as archived or spam Multisite ] $ locale . php functions in the active language key When the language key is defined in the constant WP_LANG WordPress simple and Multisite

] And the thing does not end there, there may be more, those are Dropins WordPress own but other plugins or applications may include their own.

Well, a WordPress mystery unveiled, you know what these Dependent plugins are like and what they have ever seen on the plug screen ins, and that you can not activate, deactivate, or edit. They are there to improve the WordPress functionalities.

Loading …

That may also help you: