Method |
Description |
|
enqueue_script ( string $handle, string $path = '', string[] $deps = ['jquery'], string $version = WC_VERSION, boolean $in_footer = true ) |
Register and enqueue a script for use. |
|
enqueue_style ( string $handle, string $path = '', string[] $deps = [], string $version = WC_VERSION, string $media = 'all' ) |
Register and enqueue a styles for use. |
|
get_script_data ( string $handle ) : array | boolean |
Return data for script handles. |
|
localize_script ( string $handle ) |
Localize a WC script once. |
|
register_script ( string $handle, string $path, string[] $deps = ['jquery'], string $version = WC_VERSION, boolean $in_footer = true ) |
Register a script for use. |
|
register_style ( string $handle, string $path, string[] $deps = [], string $version = WC_VERSION, string $media = 'all' ) |
Register a style for use. |
|