/**
*@var string
*@value "where-used"
*/
echo WHEREUSED_SLUG;
Details
- WHEREUSED_SLUG
- constant variable
- Active
- 1.0.0
Description
The slug constant is used in several different scenarios within the plugin:
- Plugin text domain which is the string required for language translations.
- Plugin’s root folder name.
- The value of the $_GET[‘page’] where all the plugin’s admin pages are located within the Tools area.
- Creating plugin specific nonces.
- A class is added to the <body> tag on admin pages so we can specifically identify what plugin admin page we are on in JavaScript