atatus_ignore_transaction()
function is used to ignore any particular transactions.
Compatibility
Compatible with all PHP agent versions.
Syntax
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
<?php
function example() {
if (extension_loaded('atatus')) { // ensure PHP agent is available
atatus_ignore_transaction();
}
}