enqueue_package_class( string $class_name, string $version, string $path )

Adds the version of a package to the $jetpack_packages global array so that the autoloader is able to find it.


Description Description


Parameters Parameters

$class_name

(Required) Name of the class that you want to autoload.

$version

(Required) Version of the class.

$path

(Required) Absolute path to the class so that we can load it.


Top ↑

Source Source

File: woocommerce/packages/woocommerce-admin/vendor/autoload_packages.php


			

Top ↑

User Contributed Notes User Contributed Notes

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