Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
//* Do NOT include this comment or the opening php tag above
//* Remove 'Editor' from 'Appearance' Menu in WordPress.
//* Prevent users from editing theme and plugin files directly from within the WordPress control panel.
define( 'DISALLOW_FILE_EDIT', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment