PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.7
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.7
2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 1.9.12 All 59 releases
merchant / inc / modules / code-snippets / admin / options.php

options.php in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.7, at inc/modules/code-snippets/admin/options.php

44 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Merchant Code Snippets
4 */
5
6 if ( ! defined( 'ABSPATH' ) ) {
7 exit; // Exit if accessed directly
8 }
9
10 /**
11 * Global Header and Footer
12 */
13 Merchant_Admin_Options::create( array(
14 'title' => esc_html__( 'Global Header and Footer', 'merchant' ),
15 'module' => 'code-snippets',
16 'fields' => array(
17
18 array(
19 'id' => 'header_code_snippets',
20 'type' => 'textarea_code',
21 'title' => esc_html__( 'Header', 'merchant' ),
22 'desc' => esc_html__( 'These scripts will be printed in the <head> section.', 'merchant' ),
23 'class' => 'merchant-code-snippets-textarea',
24 ),
25
26 array(
27 'id' => 'body_code_snippets',
28 'type' => 'textarea_code',
29 'title' => esc_html__( 'Body', 'merchant' ),
30 'desc' => esc_html__( 'These scripts will be printed just below the opening <body> tag.', 'merchant' ),
31 'class' => 'merchant-code-snippets-textarea',
32 ),
33
34 array(
35 'id' => 'footer_code_snippets',
36 'type' => 'textarea_code',
37 'title' => esc_html__( 'Footer', 'merchant' ),
38 'desc' => esc_html__( 'These scripts will be printed above the closing </body> tag.', 'merchant' ),
39 'class' => 'merchant-code-snippets-textarea',
40 ),
41
42 ),
43 ) );
44