Bitcoin and Altcoin Wallets: Paywall extension 1.0.1

transactions.php

Helper functions for retrieving subscription-related transactions.

Tags
author

Alexandros Georgiou info@dashed-slug.net

Table of Contents

get_sub_transaction_ids_by_tag_after_time()  : array<string|int, mixed>
Gets subscription transactions with a specific currency, tag, and created after a specific timestamp.

Functions

get_sub_transaction_ids_by_tag_after_time()

Gets subscription transactions with a specific currency, tag, and created after a specific timestamp.

get_sub_transaction_ids_by_tag_after_time(int $sub_id, string $after) : array<string|int, mixed>

Useful for the admin dashboard stats.

Parameters
$sub_id : int
$after : string

Example: -1 days, -7 days, -1 months.

Return values
array<string|int, mixed>

The transactions found.

Search results