tukutoi-cp-directory-integration.php

The plugin bootstrap file

Description

This file is read by WordPress or ClassicPress to generate the plugin information in the plugin admin area. This file also includes all of the dependencies used by the plugin, registers the activation and deactivation functions, and defines a function that starts the plugin.

Tags
link
https://www.tukutoi.com/
since
1.0.0
author

Beda Schmid beda@tukutoi.com

wordpress-plugin

Plugin Name: CP Plugin Directory Plugin URI: https://www.tukutoi.com/ Description: Integrates the ClassicPress Plugin Directory and Plugins stored on GitHub (tagged with classicpress-plugin) into the ClassicPress Admin Interface. Version: 1.4.0 Author: bedas Requires at least: 4.9.15 Requires PHP: 7.0.0 Tested up to: 6.0.0 Author URI: https://www.tukutoi.com/ License: GPL-3.0+ License URI: https://www.gnu.org/licenses/gpl-3.0.txt Text Domain: cp-plgn-drctry Domain Path: /languages

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.

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)

Search results