Changeset 3399872
- Timestamp:
- 11/20/2025 03:43:12 PM (4 months ago)
- Location:
- woo-free-product-sample
- Files:
-
- 8 edited
- 1 copied
-
tags/2.5.3 (copied) (copied from woo-free-product-sample/trunk)
-
tags/2.5.3/includes/class-woo-free-product-sample.php (modified) (1 diff)
-
tags/2.5.3/public/class-woo-free-product-sample-public.php (modified) (1 diff)
-
tags/2.5.3/readme.txt (modified) (2 diffs)
-
tags/2.5.3/woo-free-product-sample.php (modified) (2 diffs)
-
trunk/includes/class-woo-free-product-sample.php (modified) (1 diff)
-
trunk/public/class-woo-free-product-sample-public.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woo-free-product-sample.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-free-product-sample/tags/2.5.3/includes/class-woo-free-product-sample.php
r3302391 r3399872 174 174 $this->loader->add_filter( 'wc_min_max_quantity_minmax_do_not_count', $plugin_public, 'wfps_cart_exclude', 10, 4 ); 175 175 $this->loader->add_filter( 'wc_min_max_quantity_minmax_cart_exclude', $plugin_public, 'wfps_cart_exclude', 10, 4 ); 176 $this->loader->add_filter( 'woocommerce_hidden_order_itemmeta', $plugin_public, 'wfps_hidden_sample_meta' ); 176 177 177 178 } -
woo-free-product-sample/tags/2.5.3/public/class-woo-free-product-sample-public.php
r3387838 r3399872 801 801 } 802 802 803 /** 804 * Modify hidden post meta keys to include "Free sample for". 805 * 806 * @param array $hidden_keys An array of meta keys that are hidden. 807 * 808 * @return array Updated array of hidden meta keys. 809 */ 810 public function wfps_hidden_sample_meta( $hidden_keys ) { 811 812 // Hide the meta key "Free sample for" 813 $hidden_keys[] = 'Free sample for'; 814 815 return $hidden_keys; 816 } 803 817 } -
woo-free-product-sample/tags/2.5.3/readme.txt
r3393084 r3399872 7 7 WC tested up to: 10.3.4 8 8 Requires PHP: 5.6 9 Stable tag: 2.5. 29 Stable tag: 2.5.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 115 115 116 116 == Changelog == 117 #### 2.5.3 118 * Make "Free Sample For" meta key on order items hidden 119 117 120 #### 2.5.2 118 121 * Added: Required conditions for sample button to show -
woo-free-product-sample/tags/2.5.3/woo-free-product-sample.php
r3393084 r3399872 10 10 * Plugin URI: https://wordpress.org/plugins/woo-free-product-sample 11 11 * Description: It allows customers to order a product sample in a simple way. 12 * Version: 2.5. 212 * Version: 2.5.3 13 13 * Author: AMP-MODE 14 14 * Author URI: https://amplifyplugins.com … … 32 32 } 33 33 34 define( 'WFPS_VERSION', '2.5. 2' );34 define( 'WFPS_VERSION', '2.5.3' ); 35 35 define( 'WFPS_MINIMUM_PHP_VERSION', '5.6.0' ); 36 36 define( 'WFPS_MINIMUM_WP_VERSION', '4.4' ); -
woo-free-product-sample/trunk/includes/class-woo-free-product-sample.php
r3302391 r3399872 174 174 $this->loader->add_filter( 'wc_min_max_quantity_minmax_do_not_count', $plugin_public, 'wfps_cart_exclude', 10, 4 ); 175 175 $this->loader->add_filter( 'wc_min_max_quantity_minmax_cart_exclude', $plugin_public, 'wfps_cart_exclude', 10, 4 ); 176 $this->loader->add_filter( 'woocommerce_hidden_order_itemmeta', $plugin_public, 'wfps_hidden_sample_meta' ); 176 177 177 178 } -
woo-free-product-sample/trunk/public/class-woo-free-product-sample-public.php
r3387838 r3399872 801 801 } 802 802 803 /** 804 * Modify hidden post meta keys to include "Free sample for". 805 * 806 * @param array $hidden_keys An array of meta keys that are hidden. 807 * 808 * @return array Updated array of hidden meta keys. 809 */ 810 public function wfps_hidden_sample_meta( $hidden_keys ) { 811 812 // Hide the meta key "Free sample for" 813 $hidden_keys[] = 'Free sample for'; 814 815 return $hidden_keys; 816 } 803 817 } -
woo-free-product-sample/trunk/readme.txt
r3393084 r3399872 7 7 WC tested up to: 10.3.4 8 8 Requires PHP: 5.6 9 Stable tag: 2.5. 29 Stable tag: 2.5.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 115 115 116 116 == Changelog == 117 #### 2.5.3 118 * Make "Free Sample For" meta key on order items hidden 119 117 120 #### 2.5.2 118 121 * Added: Required conditions for sample button to show -
woo-free-product-sample/trunk/woo-free-product-sample.php
r3393084 r3399872 10 10 * Plugin URI: https://wordpress.org/plugins/woo-free-product-sample 11 11 * Description: It allows customers to order a product sample in a simple way. 12 * Version: 2.5. 212 * Version: 2.5.3 13 13 * Author: AMP-MODE 14 14 * Author URI: https://amplifyplugins.com … … 32 32 } 33 33 34 define( 'WFPS_VERSION', '2.5. 2' );34 define( 'WFPS_VERSION', '2.5.3' ); 35 35 define( 'WFPS_MINIMUM_PHP_VERSION', '5.6.0' ); 36 36 define( 'WFPS_MINIMUM_WP_VERSION', '4.4' );
Note: See TracChangeset
for help on using the changeset viewer.