dave
dave

Reputation: 15489

In which order does Wordpress execute plugins?

What intelligence does WordPress use to register & execute plugins?

I currently have a plugin that is dependent on another plugin, as it uses hooks defined there, so does the ordering of these plugins matter?

Upvotes: 0

Views: 358

Answers (1)

WeeniehuahuaXD
WeeniehuahuaXD

Reputation: 852

Wordpress executes it's plugins based on the order specified in the database.

However, wordpress will usually handle the loading of plugins in a safe manner as their are guidelines for wordpress developers to build plugins. Though these guidelines are not always followed, most if not all major / popular wordpress plugins are built according to these standards.

If a specific plugin requires another plugin, the required file(s) will be loaded accordingly in order to accommodate the requesting plugin.

Upvotes: 1

Related Questions