You are here

function hook_product_description_alter in Ubercart 6.2

Alters the given product description.

Parameters

$description: Description array reference.

$product: The product being described.

1 invocation of hook_product_description_alter()
uc_product_get_description in uc_product/uc_product.module
Returns HTML for the product description.

File

docs/hooks.php, line 1224
These are the hooks that are invoked by the Ubercart core.

Code

function hook_product_description_alter(&$description, $product) {
  $description['attributes']['#weight'] = 2;
}