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? –