wpdesk / wp-helpscout-beacon
This package is abandoned and no longer maintained.
No replacement package was suggested.
1.6.1
2023-01-02 08:42 UTC
Requires
- php: >=5.6
- psr/container: ^1.0
Requires (Dev)
- 10up/wp_mock: *
- mockery/mockery: *
- phpunit/phpunit: ^5
- squizlabs/php_codesniffer: ^3.0.2
- wimg/php-compatibility: ^8
- wp-coding-standards/wpcs: ^0.14.1
- wpdesk/wp-wpdesk-composer: ^2.6
This package is auto-updated.
Last update: 2024-12-13 11:10:58 UTC
README
WordPress Library for HelpScout Beacon integration
Requirements
PHP 5.6 or later.
Composer
You can install the bindings via Composer. Run the following command:
composer require --dev wpdesk/wp-helpscout-beacon
To use the bindings, use Composer's autoload:
require_once 'vendor/autoload.php';
Usage
add_action( 'plugin/ready', function () {
if ( is_admin() && get_option( 'disable_beacon', 'no' ) !== 'yes' ) {
( new Beacon(
'6057086f-4b25-4e12-8735-fbc556d2dc05',
new BeaconShopMagicShouldShowStrategy(),
$vendor_url . '/wp-helpscout-beacon/assets/'
) )->hooks();
}
} );
Project documentation
PHPDoc: https://wpdesk.gitlab.io/wp-helpscout-beacon/index.html