Files
old-experiments/backend/wordpress/wp-content/plugins/woocommerce-jetpack/includes/settings/wcj-settings-custom-js.php
2018-07-09 12:34:06 +02:00

37 lines
983 B
PHP

<?php
/**
* Booster for WooCommerce Settings - Custom JS
*
* @version 3.4.0
* @since 2.8.0
* @author Algoritmika Ltd.
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
return array(
array(
'title' => __( 'Options', 'woocommerce-jetpack' ),
'type' => 'title',
'id' => 'wcj_custom_js_options',
),
array(
'title' => __( 'Custom JS - Front end (Customers)', 'woocommerce-jetpack' ),
'id' => 'wcj_custom_js_frontend',
'default' => '',
'type' => 'custom_textarea',
'css' => 'width:100%;min-height:300px;font-family:monospace;',
),
array(
'title' => __( 'Custom JS - Back end (Admin)', 'woocommerce-jetpack' ),
'id' => 'wcj_custom_js_backend',
'default' => '',
'type' => 'custom_textarea',
'css' => 'width:100%;min-height:300px;font-family:monospace;',
),
array(
'type' => 'sectionend',
'id' => 'wcj_custom_js_options',
),
);