Skip to content

Instantly share code, notes, and snippets.

@rickrduncan
Created January 4, 2016 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rickrduncan/42421e5129ebe2666434 to your computer and use it in GitHub Desktop.
Save rickrduncan/42421e5129ebe2666434 to your computer and use it in GitHub Desktop.
<?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