mainwp-childmainwp-child.php

MainWP Child Plugin

Constants

MAINWP_CHILD_DEBUG

MAINWP_CHILD_DEBUG = false

Define MainWP Child Plugin Debug Mode.

MAINWP_CHILD_FILE

MAINWP_CHILD_FILE = __FILE__

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

MAINWP_CHILD_PLUGIN_DIR

MAINWP_CHILD_PLUGIN_DIR = plugin_dir_path(MAINWP_CHILD_FILE)

Define MainWP Child Plugin Directory.

MAINWP_CHILD_URL

MAINWP_CHILD_URL = plugin_dir_url(MAINWP_CHILD_FILE)

Define MainWP Child Plugin URL.

Functions

mainwp_child_autoload()

mainwp_child_autoload(string  $class_name) 

MainWP Child Plugin Autoloader to load all other class files.

Parameters

string $class_name

Name of the class to load.