infusion_exists()

Check whether an infusion is installed or not from the infusions table.


infusion_exists( string $infusion_folder ) : bool

Parameters

$infusion_folder (string) (Required)

Return Values

(bool)

Examples

if (infusion_exists('my_infusion')) {
    //
}