shop changes
This commit is contained in:
20
actions/WooCommerceAfterContent.php
Normal file
20
actions/WooCommerceAfterContent.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Actions;
|
||||
|
||||
use ofc\RadAction;
|
||||
|
||||
class WooCommerceAfterContent extends RadAction
|
||||
{
|
||||
protected string $hookName = "woocommerce_after_main_content";
|
||||
protected int $priority = 50;
|
||||
|
||||
public function callback()
|
||||
{
|
||||
if (is_product()) {
|
||||
return;
|
||||
}
|
||||
|
||||
echo site()->render('woocommerce-after-content');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user