开发者 |
algoritmika
anbinder wpcodefactory omardabbas kousikmukherjeeli |
---|---|
更新时间 | 2023年6月19日 00:31 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 6.2 |
版权: | GNU General Public License v3.0 |
版权网址: | 版权信息 |
[alg_wc_pt_product_meta]
and [alg_wc_pt_product_function]
. This is especially useful in global (i.e. all products) tabs. For example, you can output some custom field value in your custom tabs for all products at once:
[alg_wc_pt_product_meta key="my_custom_field"]
Or, for example, you could add stock quantity info:
Stock: [alg_wc_pt_product_function name="get_stock_quantity"]
🏆 Premium Version
While free version allows you to add one global custom tab and one "per product" tab for each product, with Product Tabs for WooCommerce Pro you can add an unlimited number of custom product tabs.
🗘 Feedback
/wp-content/plugins/
directory.plugins_loaded
action now.yes
).yes
).[alg_wc_pt_product_function]
shortcode added.[alg_wc_pt_product_meta]
shortcode added.[alg_wc_pt_translate]
shortcode alias added (i.e. same as [alg_wc_cpt_translate]
).load_plugin_textdomain()
moved to the init
action.[alg_wc_cpt_translate]
added.WP_Query
optimized to return ids
only.load_plugin_textdomain()
moved from init
hook to constructor.