| @@ -1,26 +1,29 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Auto External Links | |
| 4 | - * | |
| 5 | - * @package Merchant | |
| 6 | - */ | |
| 7 | - | |
| 8 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 9 | - exit; // Exit if accessed directly | |
| 10 | -} | |
| 11 | - | |
| 12 | -/** | |
| 13 | - * Settings | |
| 14 | - */ | |
| 15 | -Merchant_Admin_Options::create( array( | |
| 16 | - 'title' => esc_html__( 'Settings', 'merchant' ), | |
| 17 | - 'module' => 'auto-external-links', | |
| 18 | - 'fields' => array( | |
| 19 | - | |
| 20 | - array( | |
| 21 | - 'type' => 'content', | |
| 22 | - 'content' => esc_html__( 'All the external links on your store will be opened in a browser tab by enabling this module. It prevents visitors from accidentally navigating away from your online store.', 'merchant' ), | |
| 23 | - ), | |
| 24 | - | |
| 25 | - ), | |
| 26 | -) ); | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Auto External Links | |
| 4 | + * | |
| 5 | + * @package Merchant | |
| 6 | + */ | |
| 7 | + | |
| 8 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 9 | + exit; // Exit if accessed directly | |
| 10 | +} | |
| 11 | + | |
| 12 | +/** | |
| 13 | + * Settings | |
| 14 | + */ | |
| 15 | + | |
| 16 | +return array( | |
| 17 | + array( | |
| 18 | + 'title' => esc_html__( 'Settings', 'merchant' ), | |
| 19 | + 'module' => 'auto-external-links', | |
| 20 | + 'fields' => array( | |
| 21 | + | |
| 22 | + array( | |
| 23 | + 'type' => 'content', | |
| 24 | + 'content' => esc_html__( 'All the external links on your store will be opened in a browser tab by enabling this module. It prevents visitors from accidentally navigating away from your online store.', 'merchant' ), | |
| 25 | + ), | |
| 26 | + | |
| 27 | + ), | |
| 28 | +), | |
| 29 | +); | |