ThirdPartyPluginsUtils
in package
Table of Contents
- activatePlugin() : bool
- installPlugin() : bool
- isActiveEDD() : bool
- Check is active Easy Digital Downloads
- isActiveMphb() : bool
- Check is active Hotel Booking
- isActiveMphbLite() : bool
- Check is active Hotel Booking Lite
- isActiveMphbMailchimp() : bool
- Check is active Hotel Booking & MailChimp Integration
- isActiveMphbNotifier() : bool
- Check is active Hotel Booking Notifier
- isActiveMphbPaymentRequest() : bool
- Check is active Hotel Booking Payment Request
- isActiveMphbReviews() : bool
- Check is active Hotel Booking Reviews
- isActiveMphbWoocommercePayments() : bool
- Check is active Hotel Booking WooCommerce Payments
- isActiveWoocommerce() : bool
- Check is active WooCommerce
- isPluginActive() : bool
- Check is plugin active.
- isPluginInstalled() : bool
Methods
activatePlugin()
public
static activatePlugin(string $slug) : bool
Parameters
- $slug : string
-
Plugin slug, like:
wordpress-importer/wordpress-imported.php
.
Tags
Return values
bool —installPlugin()
public
static installPlugin(string $pluginZip) : bool
Parameters
- $pluginZip : string
-
Plugin ZIP download link, like:
https://downloads.wordpress.org/plugin/wordpress-importer.latest-stable.zip
.
Tags
Return values
bool —isActiveEDD()
Check is active Easy Digital Downloads
public
static isActiveEDD() : bool
Return values
bool —isActiveMphb()
Check is active Hotel Booking
public
static isActiveMphb() : bool
Return values
bool —isActiveMphbLite()
Check is active Hotel Booking Lite
public
static isActiveMphbLite() : bool
Return values
bool —isActiveMphbMailchimp()
Check is active Hotel Booking & MailChimp Integration
public
static isActiveMphbMailchimp() : bool
Tags
Return values
bool —isActiveMphbNotifier()
Check is active Hotel Booking Notifier
public
static isActiveMphbNotifier() : bool
Tags
Return values
bool —isActiveMphbPaymentRequest()
Check is active Hotel Booking Payment Request
public
static isActiveMphbPaymentRequest() : bool
Return values
bool —isActiveMphbReviews()
Check is active Hotel Booking Reviews
public
static isActiveMphbReviews() : bool
Return values
bool —isActiveMphbWoocommercePayments()
Check is active Hotel Booking WooCommerce Payments
public
static isActiveMphbWoocommercePayments() : bool
Return values
bool —isActiveWoocommerce()
Check is active WooCommerce
public
static isActiveWoocommerce() : bool
Return values
bool —isPluginActive()
Check is plugin active.
public
static isPluginActive(string $pluginSubDirSlashFile) : bool
Parameters
- $pluginSubDirSlashFile : string
Return values
bool —isPluginInstalled()
public
static isPluginInstalled(string $slug) : bool
Parameters
- $slug : string
-
Plugin slug, like:
wordpress-importer/wordpress-imported.php
.