Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Config::define_constants( string $plugin_name, string $prefix, string $version, string $plugin_file, string $debug_mode )

Setting constants that maybe used through out the plugin or in the pro version Needs revision


Parameters Parameters

$plugin_name

(Required) The name of the plugin

$prefix

(Required) Variable used to prefix filters and actions

$version

(Required) The version of this plugin.

$plugin_file

(Required) The main plugin file __FILE__

$debug_mode

(Required) Whether debug log in php and js files are enabled


Source Source

File: src/config.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.