PluginProbe
WP Coder – Insert & Manage Code Snippets / trunk
WP Coder – Insert & Manage Code Snippets vtrunk
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 / classes / Snippets / pages / enable.php

enable.php in WP Coder – Insert & Manage Code Snippets trunk, at classes/Snippets/pages/enable.php

47 lines 1.3 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 $enabled_snippets = [
6 'enable_duplication' => [
7 'Content Duplication',
8 'Enable the function of duplicating posts and pages in the admin panel.',
9 ],
10 'enable_svg_upload' => [
11 'Uploading SVG Files',
12 'Enable support for SVG files to be uploaded in WordPress media.',
13 ],
14
15 'enable_pages_excerpt' => [
16 'Enable excerpt for pages ',
17 'Enable excerpt support for pages.',
18 ],
19
20 'enable_shortcode_in_text_widgets' => [
21 'Enable Shortcode Execution in Text Widgets',
22 'Extend the default Text Widget with shortcode execution.',
23 ],
24
25 'enable_featured_img_rss_feeds' => [
26 'Enable Featured Images to RSS Feeds',
27 'Extend your site\'s RSS feeds by including featured images in the feed.',
28 ],
29
30 'enable_page_slug_to_body_class' => [
31 'Enable Page Slug to Body Class',
32 'Add the page slug to the body class for better styling.',
33 ],
34
35 'enable_lowercase_filenames_for_uploads' => [
36 'Enable Lowercase Filenames for Uploads',
37 'Make all the filenames of new uploads to lowercase after you enable this snippet.',
38 ],
39
40 'enable_default_alt_to_avatar' => [
41 'Enable default ALT to avatar/Gravatar Images',
42 'Add the user\'s name as a default alt tag to the Gravatar images loaded on.',
43 ],
44 ];
45
46 self::create_options($enabled_snippets);
47