Changeset 1843150
- Timestamp:
- 03/19/2018 11:02:51 PM (8 years ago)
- Location:
- woo-terms-conditions-text/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
woo-terms-text.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-terms-conditions-text/trunk/readme.txt
r1617444 r1843150 2 2 3 3 Contributors: raajtram 4 Donate link: http ://raajtram.com/4 Donate link: https://raajtram.com/ 5 5 Tags: woocommerce, woo 6 6 Requires at least: 3.0.1 7 Tested up to: 4.7.3 8 Stable tag: 4.4.1 7 Tested up to: 4.9.4 9 8 License: GPLv3 10 9 License URI: http://www.gnu.org/licenses/gpl.txt … … 34 33 == Changelog == 35 34 35 = 1.0.2 = 36 * Minor updates to the plugin code 37 36 38 = 1.0.1 = 37 39 *Fixes the name of the plugin in the readme.txt file. -
woo-terms-conditions-text/trunk/woo-terms-text.php
r1617444 r1843150 5 5 Plugin URI: https://raajtram.com/plugins/wtc 6 6 Description: Allows you to change the Terms & Conditions text for WooCommerce. 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author: Raaj Trambadia 9 9 Author URI: https://raajtram.com/ … … 11 11 12 12 defined( 'ABSPATH' ) or die( 'Plugin file cannot be accessed directly.' ); 13 14 /* Register Settings */ 13 15 14 16 function wtc_init() { … … 34 36 add_action( 'admin_init', 'wtc_init'); 35 37 38 /* Callback */ 39 36 40 function wtc_cb() {} 41 42 /* Callback */ 37 43 38 44 function wtc_front_cb() { … … 41 47 echo '<input type="text" name="wtc_settings[wtc_new_text]" value="' . esc_attr( $options['wtc_new_text'] ) . '" placeholder="e.g. I have read and agree to the Return Policy and the Terms and Conditions of this store." style="width: 100%;">'; 42 48 } 49 50 /* Options - HTML */ 43 51 44 52 function wtc_options() { … … 65 73 } 66 74 75 /* Admin Menu */ 76 67 77 function wtc_menu() { 68 78 add_options_page( … … 77 87 add_action( 'admin_menu', 'wtc_menu' ); 78 88 89 /* Core function */ 79 90 80 91 function wtc_text_strings( $translated_text, $text, $domain ) {
Note: See TracChangeset
for help on using the changeset viewer.