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


(Required) The name of the plugin


(Required) Variable used to prefix filters and actions


(Required) The version of this plugin.


(Required) The main plugin file __FILE__


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

Source Source

File: src/config.php

Top ↑

Changelog Changelog