Metabox
3 days ago
views
3 days ago
FSIE.php
3 days ago
FSPro.php
3 days ago
FSWalkthrough.php
3 days ago
FSWalkthroughPL.php
3 days ago
Metabox.php
3 days ago
Video.php
3 days ago
WooCommerceABC.php
3 days ago
WooCommerceABCPL.php
3 days ago
FSWalkthroughPL.php
55 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Class FSWalkthroughPL. |
| 4 | * |
| 5 | * @package WPDesk\FS\Info |
| 6 | */ |
| 7 | |
| 8 | namespace WPDesk\FS\Info; |
| 9 | |
| 10 | use WPDesk\FS\Info\Metabox\Links; |
| 11 | |
| 12 | /** |
| 13 | * Metabox Flexible Shipping walkthrough. |
| 14 | */ |
| 15 | class FSWalkthroughPL extends Links { |
| 16 | /** |
| 17 | * FSWalkthrough constructor. |
| 18 | */ |
| 19 | public function __construct() { |
| 20 | $title = __( 'Flexible Shipping walkthrough', 'flexible-shipping' ); |
| 21 | $footer_label = __( 'Learn more', 'flexible-shipping' ); |
| 22 | $footer_url = 'https://octol.io/fs-info-docs'; |
| 23 | |
| 24 | parent::__construct( 'fs-walkthrough', $title, $this->generate_footer( $footer_url, $footer_label ) ); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * @return array[] |
| 29 | */ |
| 30 | protected function get_links() { |
| 31 | return array( |
| 32 | array( |
| 33 | 'label' => __( 'How to add a new shipping method handled by Flexible Shipping?', 'flexible-shipping' ), |
| 34 | 'href' => 'https://octol.io/fs-konfiguracja', |
| 35 | ), |
| 36 | array( |
| 37 | 'label' => __( 'A complete guide to shipping methods', 'flexible-shipping' ), |
| 38 | 'href' => 'https://octol.io/fs-konfiguracja-metody', |
| 39 | ), |
| 40 | array( |
| 41 | 'label' => __( 'Disable or hide the shipping method', 'flexible-shipping' ), |
| 42 | 'href' => 'https://octol.io/fs-wylaczanie-metody', |
| 43 | ), |
| 44 | array( |
| 45 | 'label' => __( 'Advanced options and customization', 'flexible-shipping' ), |
| 46 | 'href' => 'https://octol.io/fs-zaawansowane', |
| 47 | ), |
| 48 | array( |
| 49 | 'label' => __( 'Combine shipping classes in Flexible Shipping', 'flexible-shipping' ), |
| 50 | 'href' => 'https://octol.io/fs-laczenie-klas-wysylkowych', |
| 51 | ), |
| 52 | ); |
| 53 | } |
| 54 | } |
| 55 |