Webhook_Versioning::maybe_update_webhooks()
Summary
No summary available.Return
(void)
Source
File: src/BigCommerce/Webhooks/Webhook_Versioning.php
public function maybe_update_webhooks() { if ( ! get_option( Import::ENABLE_WEBHOOKS , 1 ) ) { return; } $version_option = 'schema-' . self::class; if ( (int) get_option( $version_option, 0 ) !== self::VERSION ) { $this->update_webhooks(); update_option( 'schema-' . self::class, self::VERSION ); } }