This shortcode returns the current subscriber’s Infusionsoft contact ID, if the subscriber is logged in.
This shortcode does NOT supports conditional branching with [ELSE_infusion_id].
Shortcode nesting is NOT supported.
To use this shortcode in your own PHP code, please use as follows:
<?php // Returns 0 (zero) if not an Infusionsoft contact
$contactID = i4w_infusion_id(); ?>