Constants
in package
Common constants which cannot be hold in `trait`s as this is forbidden since PHP 8.1.
Table of Contents
Constants
- ASSETS_ADVANCED_ENQUEUE_FEATURE_ASYNC = 'async'
- ASSETS_ADVANCED_ENQUEUE_FEATURE_DEFER = 'defer'
- ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING = 'preloading'
- ASSETS_ADVANCED_ENQUEUE_FEATURE_PRIORITY_QUEUE = 'priority-queue'
- ASSETS_HANDLE_MOBX = 'mobx'
- ASSETS_HANDLE_REACT = 'react'
- ASSETS_HANDLE_REACT_DOM = 'react-dom'
- ASSETS_HANDLE_REACT_JSX_RUNTIME = 'react-jsx-runtime'
- ASSETS_TYPE_ADMIN = 'admin_enqueue_scripts'
- Enqueue scripts and styles in admin pages.
- ASSETS_TYPE_CUSTOMIZE = 'customize_controls_print_scripts'
- Enqueue scripts and styles in customize page.
- ASSETS_TYPE_FRONTEND = 'wp_enqueue_scripts'
- Enqueue scripts and styles in frontend pages.
- ASSETS_TYPE_LOGIN = 'login_enqueue_scripts'
- Enqueue scripts and styles in login page.
- LOCALIZATION_BACKEND = 'backend'
- LOCALIZATION_FRONTEND = 'frontend'
- LOCALIZATION_MO_CACHE_FOLDER = 'mo-cache'
- LOCALIZATION_PUBLIC_JSON_I18N = 'public/languages/json'
- Used in frontend localization to detect the i18n files.
- PLUGIN_CLASS_ACTIVATOR = 'Activator'
- PLUGIN_CLASS_ASSETS = 'Assets'
- PLUGIN_CLASS_LOCALIZATION = 'Localization'
- PLUGIN_CONST_DB_PREFIX = 'DB_PREFIX'
- PLUGIN_CONST_DEBUG = 'DEBUG'
- PLUGIN_CONST_FILE = 'FILE'
- PLUGIN_CONST_INC = 'INC'
- PLUGIN_CONST_NS = 'NS'
- PLUGIN_CONST_OPT_PREFIX = 'OPT_PREFIX'
- PLUGIN_CONST_PATH = 'PATH'
- PLUGIN_CONST_ROOT_SLUG = 'ROOT_SLUG'
- PLUGIN_CONST_SLUG = 'SLUG'
- PLUGIN_CONST_TEXT_DOMAIN = 'TD'
- PLUGIN_CONST_VERSION = 'VERSION'
Constants
ASSETS_ADVANCED_ENQUEUE_FEATURE_ASYNC
public
mixed
ASSETS_ADVANCED_ENQUEUE_FEATURE_ASYNC
= 'async'
ASSETS_ADVANCED_ENQUEUE_FEATURE_DEFER
public
mixed
ASSETS_ADVANCED_ENQUEUE_FEATURE_DEFER
= 'defer'
ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING
public
mixed
ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING
= 'preloading'
ASSETS_ADVANCED_ENQUEUE_FEATURE_PRIORITY_QUEUE
public
mixed
ASSETS_ADVANCED_ENQUEUE_FEATURE_PRIORITY_QUEUE
= 'priority-queue'
ASSETS_HANDLE_MOBX
public
mixed
ASSETS_HANDLE_MOBX
= 'mobx'
ASSETS_HANDLE_REACT
public
mixed
ASSETS_HANDLE_REACT
= 'react'
ASSETS_HANDLE_REACT_DOM
public
mixed
ASSETS_HANDLE_REACT_DOM
= 'react-dom'
ASSETS_HANDLE_REACT_JSX_RUNTIME
public
mixed
ASSETS_HANDLE_REACT_JSX_RUNTIME
= 'react-jsx-runtime'
ASSETS_TYPE_ADMIN
Enqueue scripts and styles in admin pages.
public
mixed
ASSETS_TYPE_ADMIN
= 'admin_enqueue_scripts'
ASSETS_TYPE_CUSTOMIZE
Enqueue scripts and styles in customize page.
public
mixed
ASSETS_TYPE_CUSTOMIZE
= 'customize_controls_print_scripts'
ASSETS_TYPE_FRONTEND
Enqueue scripts and styles in frontend pages.
public
mixed
ASSETS_TYPE_FRONTEND
= 'wp_enqueue_scripts'
ASSETS_TYPE_LOGIN
Enqueue scripts and styles in login page.
public
mixed
ASSETS_TYPE_LOGIN
= 'login_enqueue_scripts'
LOCALIZATION_BACKEND
public
mixed
LOCALIZATION_BACKEND
= 'backend'
LOCALIZATION_FRONTEND
public
mixed
LOCALIZATION_FRONTEND
= 'frontend'
LOCALIZATION_MO_CACHE_FOLDER
public
mixed
LOCALIZATION_MO_CACHE_FOLDER
= 'mo-cache'
LOCALIZATION_PUBLIC_JSON_I18N
Used in frontend localization to detect the i18n files.
public
mixed
LOCALIZATION_PUBLIC_JSON_I18N
= 'public/languages/json'
PLUGIN_CLASS_ACTIVATOR
public
mixed
PLUGIN_CLASS_ACTIVATOR
= 'Activator'
PLUGIN_CLASS_ASSETS
public
mixed
PLUGIN_CLASS_ASSETS
= 'Assets'
PLUGIN_CLASS_LOCALIZATION
public
mixed
PLUGIN_CLASS_LOCALIZATION
= 'Localization'
PLUGIN_CONST_DB_PREFIX
public
mixed
PLUGIN_CONST_DB_PREFIX
= 'DB_PREFIX'
PLUGIN_CONST_DEBUG
public
mixed
PLUGIN_CONST_DEBUG
= 'DEBUG'
PLUGIN_CONST_FILE
public
mixed
PLUGIN_CONST_FILE
= 'FILE'
PLUGIN_CONST_INC
public
mixed
PLUGIN_CONST_INC
= 'INC'
PLUGIN_CONST_NS
public
mixed
PLUGIN_CONST_NS
= 'NS'
PLUGIN_CONST_OPT_PREFIX
public
mixed
PLUGIN_CONST_OPT_PREFIX
= 'OPT_PREFIX'
PLUGIN_CONST_PATH
public
mixed
PLUGIN_CONST_PATH
= 'PATH'
PLUGIN_CONST_ROOT_SLUG
public
mixed
PLUGIN_CONST_ROOT_SLUG
= 'ROOT_SLUG'
PLUGIN_CONST_SLUG
public
mixed
PLUGIN_CONST_SLUG
= 'SLUG'
PLUGIN_CONST_TEXT_DOMAIN
public
mixed
PLUGIN_CONST_TEXT_DOMAIN
= 'TD'
PLUGIN_CONST_VERSION
public
mixed
PLUGIN_CONST_VERSION
= 'VERSION'