verify_key( $api_key ); } /** * Cancel the scheduled heartbeat. * * @since 1.8.0 */ public static function unschedule(): void { if ( ! function_exists( 'as_unschedule_all_actions' ) ) { return; } as_unschedule_all_actions( self::HOOK ); } }