Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
//* Do NOT include this comment or the opening php tag above
//* Remove 'Editor' from 'Appearance' Menu.
//* This stops users from being able to edit files from within WordPress admin dashboard.
if ( ! defined( 'DISALLOW_FILE_EDIT' ) )
define( 'DISALLOW_FILE_EDIT', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.