Skip to content

Filter

Filter whether a TML action is being requested or not.

apply_filters( 'tml_is_action', bool $is_action, string $action )

Parameters

$is_action bool
Whether a TML action is being requested or not.
$action string
The action name.

Source

Fired in tml_is_action()

return apply_filters( 'tml_is_action', $is_action, $action );

Changelog

VersionDescription
7.0 Introduced.