| 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 |
|