Metabox
1 day ago
views
1 day ago
FSIE.php
1 day ago
FSPro.php
1 day ago
FSWalkthrough.php
1 day ago
FSWalkthroughPL.php
1 day ago
Metabox.php
1 day ago
Video.php
1 day ago
WooCommerceABC.php
1 day ago
WooCommerceABCPL.php
1 day ago
WooCommerceABCPL.php
51 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Info WooCommerceABCPL. |
| 4 | * |
| 5 | * @package WPDesk\FS\Info |
| 6 | */ |
| 7 | |
| 8 | namespace WPDesk\FS\Info; |
| 9 | |
| 10 | use WPDesk\FS\Info\Metabox\Links; |
| 11 | |
| 12 | /** |
| 13 | * WooCommerceABC in FS Info. |
| 14 | */ |
| 15 | class WooCommerceABCPL extends Links { |
| 16 | /** |
| 17 | * WooCommerceABC constructor. |
| 18 | */ |
| 19 | public function __construct() { |
| 20 | $title = __( 'WooCommerce ABCs', 'flexible-shipping' ); |
| 21 | $footer_label = __( 'More articles', 'flexible-shipping' ); |
| 22 | $footer_url = 'https://octol.io/fs-info-blog-pl'; |
| 23 | |
| 24 | parent::__construct( 'woocommerce-abc', $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' => __( 'Shipping configuration', 'flexible-shipping' ), |
| 34 | 'href' => 'https://octol.io/fs-info-wysylka', |
| 35 | ), |
| 36 | array( |
| 37 | 'label' => __( 'Shipping Zones', 'flexible-shipping' ), |
| 38 | 'href' => 'https://octol.io/fs-info-strefy', |
| 39 | ), |
| 40 | array( |
| 41 | 'label' => __( 'Shipping Classes', 'flexible-shipping' ), |
| 42 | 'href' => 'https://octol.io/fs-info-klasy', |
| 43 | ), |
| 44 | array( |
| 45 | 'label' => __( 'Free Shipping', 'flexible-shipping' ), |
| 46 | 'href' => 'https://octol.io/fs-info-darmowa-wysylka', |
| 47 | ), |
| 48 | ); |
| 49 | } |
| 50 | } |
| 51 |