Class
Class used to implement an extension object.
Methods
-
__construct()Create the extension instance.
-
activate()Fire an action hook when the extension is activated.
-
add_actions()protectedAdd the extension actions.
-
add_filters()protectedAdd the extension filters.
-
deactivate()Fire an action hook when the extension is deactivated.
-
get_basename()Get the extension basename.
-
get_documentation_url()Get the extension's documentation URL.
-
get_file()Get the main extension file.
-
get_homepage_url()Get the extension's homepage URL.
-
get_item_id()Get the extension's item ID.
-
get_license_key()Get the license key for the extension.
-
get_license_key_option()Get the name of the license key option for the extension.
-
get_license_status()Get the license status for the extension.
-
get_license_status_option()Get the name of the license status option for the extension.
-
get_name()Get the extension name.
-
get_path()Get the extension path.
-
get_settings_fields()Get the extension settings fields.
-
get_settings_page_args()Get the extension settings page arguments.
-
get_settings_sections()Get the extension settings sections.
-
get_slug()Get the extension slug.
-
get_store_url()Get the extension's store URL.
-
get_support_url()Get the extension's support URL.
-
get_title()Get the extension title.
-
get_url()Get the extension URL.
-
get_version()Get the extension version.
-
include_files()protectedInclude the extension files.
-
maybe_update()Run the extension's update routine on admin requests.
-
set_license_key()Set the license key for the extension.
-
set_license_status()Set the license status for the extension.
-
update()protectedUpdate the extension.
Properties
-
$documentation_urlstring protected - The extension documentation URL.
-
$filestring protected - The main extension file.
-
$homepage_urlstring protected - The extension homepage URL.
-
$item_idint protected - The extension item ID.
-
$license_key_option\string. protected - The option used to store the license key.
-
$license_status_optionstring protected - The option key used to store the license status.
-
$namestring protected - The extension name.
-
$pathstring protected - The extension path.
-
$slugstring protected - The extension slug.
-
$store_urlstring protected - The extension store URL.
-
$support_urlstring protected - The extension support URL.
-
$urlstring protected - The extension URL.
-
$versionstring protected - The extension version.
Source
View src/includes/class-theme-my-login-extension.php, line 15 on GitHub
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |