atatus_ignore_transaction() function is used to ignore any particular transactions.

Compatibility

Compatible with all PHP agent versions.

Syntax

copy
icon/buttons/copy
atatus_ignore_transaction()

Parameter

atatus_ignore_transaction() does not accept any parameters.

Example

In the following example, we ignore a transaction using the function.

copy
icon/buttons/copy
<?php

function example() {

    if (extension_loaded('atatus')) { // ensure PHP agent is available
        atatus_ignore_transaction();
    }
}

See also