Skip to content

Ti3Et0s/disallow-file-edit-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

disallow-file-edit-wordpress

In wp-config.php

define('DISALLOW_FILE_EDIT', true);

define('DISALLOW_FILE_MODS', true);

OR

In Functions.php

function disable_mytheme_action() {

  define('DISALLOW_FILE_EDIT', true);

  define('DISALLOW_FILE_MODS', true);

}
add_action('init','disable_mytheme_action');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published