CPDirectoryIntegration

Packages

Admin
Includes

Table of Contents

CP_PLGN_DRCTRY_BASE_NAME  = \plugin_basename(__FILE__)
Define the Plugin basename.
CP_PLGN_DRCTRY_VERSION  = '1.4.0'
Current plugin version.
cp_plgn_drctry_activate()  : mixed
The code that runs during plugin activation.
cp_plgn_drctry_deactivate()  : mixed
The code that runs during plugin deactivation.
cp_plgn_drctry_run()  : void
Begins execution of the plugin.
cp_plgn_drctry_uninstall()  : void
Perform Uninstall Actions.

Constants

CP_PLGN_DRCTRY_BASE_NAME

Define the Plugin basename.

public string CP_PLGN_DRCTRY_BASE_NAME = \plugin_basename(__FILE__)
Description

The Plugin Basename.

CP_PLGN_DRCTRY_VERSION

Current plugin version.

public string CP_PLGN_DRCTRY_VERSION = '1.4.0'
Description

Start at version 1.0.0 and use SemVer. Rename this for your plugin and update it as you release new versions.

Description

The Plugin Version.

Tags
link
https://semver.org

Functions

cp_plgn_drctry_run()

Begins execution of the plugin.

cp_plgn_drctry_run() : void
Description

Since everything within the plugin is registered via hooks, kicking off the plugin from this point in the file does not affect the page life cycle.

Tags
since
1.0.0
Return
(void)

cp_plgn_drctry_uninstall()

Perform Uninstall Actions.

cp_plgn_drctry_uninstall() : void
Description

If uninstall not called from WordPress, If no uninstall action, If not this plugin, If no caps, then exit.

Tags
since
1.0.0
Return
(void)

Search results