开发者 |
sebsstudio
sebd86 |
---|---|
更新时间 | 2015年6月15日 18:18 |
捐献地址: | 去捐款 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 4.2.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Required to Work This plugin requires the use of WooCommerce Software Add-on WooCommerce My Licences is a simple shortcode plugin that allows you to display the end-users licence keys in a table.With WooCommerce Software Add-on, each software product the customer has purchased, a licence key is given but only via email when the order is completed. You also don't have the option to deactivate your licence key. With this plugin, not only does the customer see all licence keys purchased but also lists which site or instant the licence has be activated on. To use this shortcode, simply place the shortcode on page and any software your customers have purchased will have access to the licence keys once logged in on their account. Features
[woocommerce_my_licences]
A.1 Simply place this shortcode anywhere you want.
[woocommerce_my_licences]
A.2 Simply display the shortcode like so.
[woocommerce_my_licences variables="yes"]
A.3 Yes there are a few action hooks in place that can be used to display content before and after the licence table.
add_action( 'woocommerce_before_my_licences', 'your_function_name' );
add_action( 'woocommerce_after_my_licences', 'your_function_name' );
A.4 There is a filter for displaying the variable type.
apply_filters( 'wc_my_licences_type', $type )