Changeset 963946
- Timestamp:
- 08/11/2014 04:09:09 PM (12 years ago)
- Location:
- woocommerce-local-pickup-time-select/trunk
- Files:
-
- 3 added
- 5 edited
-
. (modified) (1 prop)
-
admin/class-local-pickup-time-admin.php (modified) (1 diff)
-
assets (added)
-
assets/index.php (added)
-
assets/screenshot-1.png (added)
-
public/class-local-pickup-time.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
woocommerce-local-pickup-time.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-local-pickup-time-select/trunk
-
Property
svn:ignore
set to
deploy.sh
README.md
.git
.gitignore
-
Property
svn:ignore
set to
-
woocommerce-local-pickup-time-select/trunk/admin/class-local-pickup-time-admin.php
r912711 r963946 59 59 * Show Pickup Time in the Order Details in the Admin Screen 60 60 */ 61 add_action( 'woocommerce_admin_order_data_after_billing_address', array( $this, 'show_metabox' ), 10, 1 ); 61 $admin_hooked_location = apply_filters( 'local_pickup_time_admin_location', 'woocommerce_admin_order_data_after_billing_address' ); 62 add_action( $admin_hooked_location, array( $this, 'show_metabox' ), 10, 1 ); 62 63 63 64 } -
woocommerce-local-pickup-time-select/trunk/public/class-local-pickup-time.php
r912711 r963946 61 61 62 62 // Add the local pickup time field to the checkout page 63 add_action( 'woocommerce_after_order_notes', array( $this, 'time_select' ) ); 63 $public_hooked_location = apply_filters( 'local_pickup_time_select_location', 'woocommerce_after_order_notes' ); 64 add_action( $public_hooked_location, array( $this, 'time_select' ) ); 64 65 65 66 // Process the checkout -
woocommerce-local-pickup-time-select/trunk/readme.txt
r912711 r963946 4 4 Tags: woocommcerce, shipping, local pickup, checkout fields, ecommerce, e-commerce, wordpress ecommerce 5 5 Requires at least: 3.8 6 Tested up to: 3.9 7 Stable tag: 1. 0.36 Tested up to: 3.9.2 7 Stable tag: 1.1.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 57 57 Make sure to set your Timezone on the WordPress Admin Settings page. 58 58 59 = How do I change the location of the pickup time select box during checkout? = 60 61 The location, by default, is hooked to `woocommerce_after_order_notes`. This can be overridden using the `local_pickup_time_select_location` filter. [A list of available hooks can be seen in the WooCommerce documentation](http://docs.woothemes.com/document/hooks/). 62 63 = How do I change the location of the pickup time shown in the admin Order Details screen? = 64 65 The location, by default, is hooked to `woocommerce_admin_order_data_after_billing_address`. This can be overridden using the `local_pickup_time_admin_location` filter. [A list of available hooks can be seen in the WooCommerce documentation](http://docs.woothemes.com/document/hooks/). 66 59 67 == Screenshots == 60 68 … … 62 70 63 71 == Changelog == 72 73 = 1.1.0 = 74 * added `local_pickup_time_select_location` filter to customize location of pickup time select during checkout 75 * added `local_pickup_time_admin_location` filter to customize location of pickup time shown in the admin Order Details screen 64 76 65 77 = 1.0.3 = -
woocommerce-local-pickup-time-select/trunk/woocommerce-local-pickup-time.php
r912711 r963946 17 17 * Plugin URI: http://mattbanks.me 18 18 * Description: Add an an option to WooCommerce checkout pages for Local Pickup that allows the user to choose a pickup time. 19 * Version: 1. 0.319 * Version: 1.1.0 20 20 * Author: Matt Banks 21 21 * Author URI: http://mattbanks.me
Note: See TracChangeset
for help on using the changeset viewer.