Created
March 21, 2016 09:39
-
-
Save mahbubme/cc82da5c12e1530e1a93 to your computer and use it in GitHub Desktop.
Increase shipping processing time from seller dashboard for Dokan plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function dokan_new_shipping_processing_times() { | |
$times = array( | |
'' => __( 'Ready to ship in...', 'dokan' ), | |
'1' => __( '1 business day', 'dokan' ), | |
'2' => __( '1-2 business day', 'dokan' ), | |
'3' => __( '1-3 business day', 'dokan' ), | |
'4' => __( '3-5 business day', 'dokan' ), | |
'5' => __( '1-2 weeks', 'dokan' ), | |
'6' => __( '2-3 weeks', 'dokan' ), | |
'7' => __( '3-4 weeks', 'dokan' ), | |
'8' => __( '4-6 weeks', 'dokan' ), | |
'9' => __( '6-8 weeks', 'dokan' ), | |
'10' => __( '8-10 weeks', 'dokan' ), | |
'11' => __( '2-3 months', 'dokan' ), | |
); | |
return $times; | |
} | |
add_filter( 'dokan_shipping_processing_times', 'dokan_new_shipping_processing_times' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment