get_url() ) > 0; } /** * @return string */ protected function get_url() { return ( defined( 'WPRP_PLUGIN_SLUG' ) && get_option( 'wpr_api_key' ) ) ? $this->wpremote_webhook_url : false; } /** * @return string */ protected function get_secret_key() { return get_option( 'wpr_api_key' ); } } // Register the service Services::register( __FILE__, 'HM\BackUpWordPress\WPRemote_Webhook_Service' );