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' );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.