add_action('woocommerce_after_single_product_summary', 'show_text', 5);
function show_text() {
echo "Buy this from our store. This is the best (echo $title) in the industry. By using this (echo $title) you save more.";
$tittle = woocommerce_template_single_title();
echo $tittle;
}
第二功能这是我尝试在WooCommerce实现我的产品之下。文本显示,但我不能得到第二个功能输出($标题)。如何在PHP中实现
任何人有任何想法吗?
感谢
'var_dump($ tittle);'return? –