Skip to content

weDevsOfficial/plugin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

weDevs Demo

Installation

Create mu-plugins folder

mkdir wp-content/mu-plugins

Download the plugin into mu-plugin

wget https://raw.githubusercontent.com/weDevsOfficial/plugin-demo/master/demo.php -O wp-content/mu-plugins/demo.php

wp-config.php constants

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_SITEURL', 'https://site.com' );
define( 'WP_HOME', 'https://site.com' );
define( 'WP_AUTO_UPDATE_CORE', true );
define( 'DISALLOW_FILE_EDIT', true );

// disable the menu and capability
define( 'DISABLE_THEME', true );
define( 'DISABLE_USERS', true );
define( 'DISABLE_SETTINGS', true );
define( 'DISABLE_TOOLS', true );
define( 'DISABLE_PLUGINS', true );

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages