Core uses trait:short
Table of Contents
Properties
- $updater : mixed
- The updater instance.
Methods
- database_version_invalidate_key() : array<string|int, mixed>
- Add a tier to the invalidate key.
- deactivate_lite_version() : mixed
- Deactivate lite version of this plugin. Warning: You need also implement this functionality in your `feedback-already.php` file to avoid sorting issues on Windows servers!
- http_request_args_lite() : array<string|int, mixed>
- We want to know the lite version so it can be shown right to the pro version.
- isLiteNoticeDismissed() : mixed
- language_packs() : mixed
- For the pro version, endable the download from assets.devowl.io for language packs.
- overrideConstruct() : mixed
- overrideConstructFreemium() : mixed
- overrideInit() : mixed
- overrideRegisterPostTypes() : mixed
- overrideRegisterSettings() : mixed
- plugin_row_meta_lite() : array<string|int, string>
- Add an "Lite version" title to the plugin row links. For debugging purposes.
- site_transient_update_plugins() : mixed
- As we do need the current lite version for debugging purposes, we should definitely show only the installed lite version in the plugin row meta. So, we need to filter out the lite version.
Properties
$updater
The updater instance.
private
mixed
$updater
Tags
Methods
database_version_invalidate_key()
Add a tier to the invalidate key.
public
database_version_invalidate_key(array<string|int, mixed> $invalidateKey) : array<string|int, mixed>
Parameters
- $invalidateKey : array<string|int, mixed>
Return values
array<string|int, mixed>deactivate_lite_version()
Deactivate lite version of this plugin. Warning: You need also implement this functionality in your `feedback-already.php` file to avoid sorting issues on Windows servers!
public
deactivate_lite_version() : mixed
http_request_args_lite()
We want to know the lite version so it can be shown right to the pro version.
public
http_request_args_lite(array<string|int, mixed> $args, string $url) : array<string|int, mixed>
Parameters
- $args : array<string|int, mixed>
- $url : string
Tags
Return values
array<string|int, mixed>isLiteNoticeDismissed()
public
isLiteNoticeDismissed([mixed $set = null ]) : mixed
Parameters
- $set : mixed = null
language_packs()
For the pro version, endable the download from assets.devowl.io for language packs.
public
language_packs(array<string|int, mixed> $urls, bool $isPrereleaseVersion) : mixed
Parameters
- $urls : array<string|int, mixed>
- $isPrereleaseVersion : bool
overrideConstruct()
public
overrideConstruct() : mixed
overrideConstructFreemium()
public
overrideConstructFreemium() : mixed
overrideInit()
public
overrideInit() : mixed
overrideRegisterPostTypes()
public
overrideRegisterPostTypes() : mixed
overrideRegisterSettings()
public
overrideRegisterSettings() : mixed
plugin_row_meta_lite()
Add an "Lite version" title to the plugin row links. For debugging purposes.
public
plugin_row_meta_lite(array<string|int, string> $links, string $file) : array<string|int, string>
Parameters
- $links : array<string|int, string>
- $file : string
Return values
array<string|int, string>site_transient_update_plugins()
As we do need the current lite version for debugging purposes, we should definitely show only the installed lite version in the plugin row meta. So, we need to filter out the lite version.
public
site_transient_update_plugins(object $update_plugins) : mixed
Parameters
- $update_plugins : object