WooCommerce::on_plugins_loaded()
When WP has loaded all plugins, trigger the woocommerce_loaded
hook.
Description Description
This ensures woocommerce_loaded
is called only after all other plugins are loaded, to avoid issues caused by plugin directory naming changing the load order. See #21524 for details.
Source Source
File: includes/class-woocommerce.php
public function on_plugins_loaded() { do_action( 'woocommerce_loaded' ); }
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |