Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-product-factory.php

WC_Product_Factory::get_product_type()

Method: Get the product type for a product.

Source: includes/class-wc-product-factory.php:77

Used by 4 functions | Uses 1 function

WC_Product_Factory::get_classname_from_product_type()

Method: Create a WC coding standards compliant class name e.g. WC_Product_Type_Class instead of WC_Product_type-class.

Source: includes/class-wc-product-factory.php:93

Used by 6 functions | Uses 0 functions

WC_Product_Factory::get_product_id()

Method: Get the product ID depending on what was passed.

Source: includes/class-wc-product-factory.php:104

Used by 1 function | Uses 0 functions

woocommerce_product_class

Filter Hook: Product Factory

Source: includes/class-wc-product-factory.php:61

Used by 1 function | Uses 0 functions

WC_Product_Factory

Class: Product factory class.

Source: includes/class-wc-product-factory.php:16

Used by 0 functions | Uses 0 functions

WC_Product_Factory::get_product()

Method: Get a product.

Source: includes/class-wc-product-factory.php:25

Used by 0 functions | Uses 5 functions

WC_Product_Factory::get_product_classname()

Method: Gets a product classname and allows filtering. Returns WC_Product_Simple if the class does not exist.

Source: includes/class-wc-product-factory.php:60

Used by 5 functions | Uses 2 functions
Proudly powered by WordPress