# wp-coder/4.5/classes/Snippets/pages/enable.php

WP Coder – Insert &amp; Manage Code Snippets, version 4.5. 47 lines.

- Page: https://pluginprobe.com/plugins/wp-coder/4.5/code/classes/Snippets/pages/enable.php
- Raw: https://pluginprobe.com/plugins/wp-coder/4.5/raw/classes/Snippets/pages/enable.php
- Modified: 2026-02-14T05:39:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-coder/4.5/code/classes/Snippets/pages/enable.php#L10-L20`.

```php
<?php

defined( 'ABSPATH' ) || exit;

$enabled_snippets = [
	'enable_duplication' => [
		'Content Duplication',
		'Enable the function of duplicating posts and pages in the admin panel.',
	],
	'enable_svg_upload'  => [
		'Uploading SVG Files',
		'Enable support for SVG files to be uploaded in WordPress media.',
	],

	'enable_pages_excerpt'  => [
		'Enable excerpt for pages ',
		'Enable excerpt support for pages.',
	],

	'enable_shortcode_in_text_widgets'  => [
		'Enable Shortcode Execution in Text Widgets',
		'Extend the default Text Widget with shortcode execution.',
	],

	'enable_featured_img_rss_feeds'  => [
		'Enable Featured Images to RSS Feeds',
		'Extend your site\'s RSS feeds by including featured images in the feed.',
	],

	'enable_page_slug_to_body_class'  => [
		'Enable Page Slug to Body Class',
		'Add the page slug to the body class for better styling.',
	],

	'enable_lowercase_filenames_for_uploads'  => [
		'Enable Lowercase Filenames for Uploads',
		'Make all the filenames of new uploads to lowercase after you enable this snippet.',
	],

	'enable_default_alt_to_avatar'  => [
		'Enable default ALT to avatar/Gravatar Images',
		'Add the user\'s name as a default alt tag to the Gravatar images loaded on.',
	],
];

self::create_options($enabled_snippets);

```
