A database schema version. This should be an incrementing index (read: should not include minor version numbers), and doesn't need to match the plugin code version number.
MENU_TITLE
MENU_TITLE
Provide titles for menu items
MENU_TITLE_APPSTORE
MENU_TITLE_APPSTORE
MENU_TITLE_CONTENT
MENU_TITLE_CONTENT
MENU_SLUG
MENU_SLUG
Provide unique slugs for menu items
The first two are the same to avoid a duplicate submenu item
MENU_SLUG_APPSTORE
MENU_SLUG_APPSTORE
MENU_SLUG_CONTENT
MENU_SLUG_CONTENT
IMAGICK_PATH_DEV
IMAGICK_PATH_DEV
Paths to image magick in different environments
IMAGICK_PATH_PROD
IMAGICK_PATH_PROD
TMP_DIR
TMP_DIR
TAG_URL
TAG_URL
Properties
$pluginUrl
$pluginUrl : string
The URL of the plugin path
Type
string
$imagickPath
$imagickPath : string
The path to ImageMagick
Type
string
Methods
__construct()
__construct()
Class constructor
creationSql()
creationSql() : array
Gets the SQL needed to setup the initial database schema
Returns
array
installDb()
installDb() : string
Installs the necessary database tables
Returns
string
tablePrefix()
tablePrefix() : string
Glues together the defined wordpress table prefix with this plugin's prefix
Returns
string
setupTable()
setupTable() : string
Gets the name of the setup table
Returns
string
imagesTable()
imagesTable() : string
Gets the name of the images table
Returns
string
imageVariationsTable()
imageVariationsTable() : string
Gets the name of the imagevariations table
Returns
string
sectionsTable()
sectionsTable() : string
Gets the name of the sections table
Returns
string
sectionMetaTable()
sectionMetaTable() : string
Gets the name of the sectionmeta table
Returns
string
pushLookupTable()
pushLookupTable() : string
Gets the name of the pushlookup table
Returns
string
unsavedChangesTable()
unsavedChangesTable() : string
Gets the name of the unsavedchanges table
Returns
string
adminMenuItems()
adminMenuItems()
Sets up the administration menu
Uncomment the contents of this method to get a wp-admin menu