← Back
Editing: WPCallButton.php
<?php namespace WPMailSMTP\PartnerPlugins\Plugins; use WPMailSMTP\PartnerPlugins\PartnerPlugin; /** * WP Call Button. * * @since 4.10.0 */ class WPCallButton extends PartnerPlugin { /** * Catalog slug. * * @since 4.10.0 */ const SLUG = 'wp-call-button'; /** * Product name. * * @since 4.10.0 */ const NAME = 'WP Call Button'; /** * Free version main file, relative to the plugins directory. * * @since 4.10.0 */ const BASENAME = 'wp-call-button/wp-call-button.php'; /** * Where the free version is downloaded from. * * @since 4.10.0 */ const DOWNLOAD_URL = 'https://downloads.wordpress.org/plugin/wp-call-button.zip'; /** * Whether the plugin's own API is loaded and callable. * * @since 4.10.0 * * @return bool */ public function is_loaded(): bool { return defined( 'WP_CALL_BUTTON_VERSION' ); } }
Save File
Cancel