Changeset 2858684
- Timestamp:
- 02/02/2023 01:27:31 AM (2 years ago)
- Location:
- jcwp-add-quote-button-in-product-page
- Files:
-
- 24 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
jcwp-add-quote-button-in-product-page/trunk/jcwp-add-quote-button-in-product-page.php
r2858001 r2858684 4 4 * Plugin URI: https://jcwpplugins.com/jcwp-add-quote-button-in-product-page/ 5 5 * Description: A plugin that adds a WhatsApp quote button on the WooCommerce product and shop page. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: JcwpPlugins 8 8 * Author URI: https://jcwpplugins.com … … 34 34 add_action( 'woocommerce_after_shop_loop_item', array($this, 'jcwp_quote_option_field_add_button_shop') ); 35 35 add_action( 'wp_enqueue_scripts', array($this, 'jcwp_quote_option_field_enqueue_styles') ); 36 37 add_filter("plugin_action_links_".plugin_basename(__FILE__), array($this,'custom_plugin_settings_link')); 38 39 36 40 } 37 41 … … 46 50 47 51 ); 52 } 53 54 public function custom_plugin_settings_link($links) { 55 $settings_link = '<a href="options-general.php?page=jcwp-quote-button-in-product-page">'.__('Settings','jcwp-add-quote-button-in-product-page').'</a>'; 56 array_push($links, $settings_link); 57 return $links; 48 58 } 49 59 -
jcwp-add-quote-button-in-product-page/trunk/readme.txt
r2858001 r2858684 5 5 Requires at least: 4.0 6 6 Tested up to: 6.1 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 43 43 2. Button result on product page 44 44 3. Button result on shop page 45 4. Button Result Example 45 46 46 47 == Changelog == 48 = 1.0.1 = 49 * Add Settings link on plugins page 47 50 = 1.0.0 = 48 51 * Initial Plugin release
Note: See TracChangeset
for help on using the changeset viewer.