PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.1
WP Coder – Insert & Manage Code Snippets v4.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / includes / settings / options / includes.php

includes.php in WP Coder – Insert & Manage Code Snippets 4.1, at includes/settings/options/includes.php

57 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 defined( 'ABSPATH' ) || exit;
4
5 return [
6
7 'include' => [
8 'type' => 'select',
9 'name' => '[include]',
10 'title' => __( 'Type', 'wp-coder' ),
11 'options' => [ 'css' => 'css', 'js' => 'js' ],
12 'class' => 'display-option',
13 ],
14
15 'include_file' => [
16 'type' => 'url',
17 'name' => '[include_file]',
18 'title' => __( 'URL', 'wp-coder' ),
19 ],
20
21 'css_only_preview' => [
22 'type' => 'checkbox',
23 'name' => '[css_only_preview]',
24 'title' => __( 'Preview Only', 'wp-coder' ),
25 'text' => __( 'Enable', 'wpcoderpro' ),
26 'class' => 'is-reverse css-only-preview',
27 'tooltip' => __( 'This CSS file will be used only in the Live Preview. It won’t be included on the actual website.', 'wp-coder' ),
28 ],
29
30 'js_attr' => [
31 'type' => 'select',
32 'name' => '[file_js_att]',
33 'title' => __( 'Attribute', 'wp-coder' ),
34 'options' => [
35 0 => 'none',
36 'defer' => 'defer',
37 'async' => 'async'
38 ],
39 'class' => 'js-attr',
40 ],
41
42 'dequeue' => [
43 'type' => 'select',
44 'name' => '[dequeue]',
45 'title' => __( 'Type', 'wp-coder' ),
46 'options' => [ 'css' => 'css', 'js' => 'js' ],
47 'class' => 'display-option',
48 ],
49
50 'handle' => [
51 'type' => 'text',
52 'name' => '[handle]',
53 'title' => __( 'ID', 'wp-coder' ),
54 ],
55
56
57 ];