| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * Webhook Data Store Interface
- *
- * @version 3.2.0
- * @package WooCommerce/Interface
- */
- if ( ! defined( 'ABSPATH' ) ) {
- exit;
- }
- /**
- * WooCommerce Webhook data store interface.
- */
- interface WC_Webhook_Data_Store_Interface {
- /**
- * Get API version number.
- *
- * @since 3.2.0
- * @param string $api_version REST API version.
- * @return int
- */
- public function get_api_version_number( $api_version );
- /**
- * Get all webhooks IDs.
- *
- * @since 3.2.0
- * @return int[]
- */
- public function get_webhooks_ids();
- }
|