Logger
1 week ago
Settings
1 week ago
Weight
1 week ago
AbstractOptions.php
1 week ago
BasedOnOptions.php
1 week ago
CalculationMethodOptions.php
1 week ago
BasedOnOptions.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Based on options. |
| 5 | * |
| 6 | * @package WPDesk\FS\TableRate |
| 7 | */ |
| 8 | namespace FSVendor\WPDesk\FS\TableRate; |
| 9 | |
| 10 | /** |
| 11 | * Can provide Based On options. |
| 12 | */ |
| 13 | class BasedOnOptions extends AbstractOptions |
| 14 | { |
| 15 | /** |
| 16 | * @return array |
| 17 | */ |
| 18 | public function get_options() |
| 19 | { |
| 20 | return apply_filters('flexible_shipping_method_rule_options_based_on', array('none' => __('None', 'flexible-shipping'), 'value' => __('Price', 'flexible-shipping'), 'weight' => __('Weight', 'flexible-shipping'))); |
| 21 | } |
| 22 | } |
| 23 |