mainwpmainwp.php

Plugin Name: MainWP Dashboard

Description: Manage all of your WP sites, even those on different servers, from one central dashboard that runs off of your own self-hosted WordPress install.

Author: MainWP Author URI: https://mainwp.com Plugin URI: https://mainwp.com/ Text Domain: mainwp Version: 4.4.0.3

Constants

MAINWP_PLUGIN_FILE

MAINWP_PLUGIN_FILE = __FILE__

Define MainWP Dashboard Plugin absolute full path and filename of this file.

MAINWP_PLUGIN_DIR

MAINWP_PLUGIN_DIR = plugin_dir_path(MAINWP_PLUGIN_FILE)

Define MainWP Dashboard Plugin Directory.

MAINWP_PLUGIN_URL

MAINWP_PLUGIN_URL = plugin_dir_url(MAINWP_PLUGIN_FILE)

Define MainWP Child Dashboard URL.

Functions

mainwp_autoload()

mainwp_autoload(string  $class_name) : \require_once

Autoloader for all classes, pages & widgets

Parameters

string $class_name

Folder name class|pages|widgets.

Returns

\require_once —

$autoload_path;