Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-blocks/src/AssetsController.php

AssetsController

Class: AssetsController class.

Source: packages/woocommerce-blocks/src/AssetsController.php:14

Used by 0 functions | Uses 0 functions

AssetsController::__construct()

Method: Constructor.

Source: packages/woocommerce-blocks/src/AssetsController.php:28

Used by 1 function | Uses 1 function

AssetsController::init()

Method: Initialize class features.

Source: packages/woocommerce-blocks/src/AssetsController.php:36

Used by 1 function | Uses 0 functions

AssetsController::register_assets()

Method: Register block scripts & styles.

Source: packages/woocommerce-blocks/src/AssetsController.php:45

Used by 0 functions | Uses 2 functions

AssetsController::add_theme_body_class()

Method: Add body classes to the frontend and within admin.

Source: packages/woocommerce-blocks/src/AssetsController.php:84

Used by 0 functions | Uses 0 functions

AssetsController::get_file_version()

Method: Get the file modified time as a cache buster if we’re in dev mode.

Source: packages/woocommerce-blocks/src/AssetsController.php:102

Used by 1 function | Uses 2 functions

AssetsController::register_style()

Method: Registers a style according to `wp_register_style`.

Source: packages/woocommerce-blocks/src/AssetsController.php:118

Used by 1 function | Uses 1 function
Proudly powered by WordPress