shop changes
This commit is contained in:
18
actions/WooCommerceBeforeProductSummary.php
Normal file
18
actions/WooCommerceBeforeProductSummary.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Actions;
|
||||
|
||||
use ofc\RadAction;
|
||||
|
||||
class WooCommerceBeforeProductSummary extends RadAction
|
||||
{
|
||||
protected string $hookName = "woocommerce_before_single_product_summary";
|
||||
protected int $priority = 0;
|
||||
|
||||
public function callback()
|
||||
{
|
||||
echo site()->render('woocommerce-before-content', [
|
||||
"additionalTopLevelClass" => "single-product-top",
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user