tkt-template-builder.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
Table of Contents
- TKT_TEMPLATE_BUILDER_VERSION = '1.8.9'
- Current plugin version.
- tkt_tmplt_bldr_activate() : mixed
- The code that runs during plugin activation.
- tkt_tmplt_bldr_deactivate() : mixed
- The code that runs during plugin deactivation.
- tkt_tmplt_bldr_run() : mixed
- Begins execution of the plugin.
Constants
TKT_TEMPLATE_BUILDER_VERSION
Current plugin version.
public
string
TKT_TEMPLATE_BUILDER_VERSION
= '1.8.9'
Description
Start at version 0.0.1 and use SemVer Rename this for your plugin and update it as you release new versions.
Description
The version of this plugin.
Tags
Functions
tkt_tmplt_bldr_activate()
The code that runs during plugin activation.
tkt_tmplt_bldr_activate() : mixed
Tags
Return
(mixed)tkt_tmplt_bldr_deactivate()
The code that runs during plugin deactivation.
tkt_tmplt_bldr_deactivate() : mixed
Tags
Return
(mixed)tkt_tmplt_bldr_run()
Begins execution of the plugin.
tkt_tmplt_bldr_run() : mixed
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.
Generally you will want to hook this function, instead of callign it globally. However since the purpose of your plugin is not known until you write it, we include the function globally.