Plugin Directory


Ignore:
Timestamp:
09/30/2026 11:50:30 PM (5 weeks ago)
Author:
meumouse
Message:

Release 2.5.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • joinotify/trunk/admin/src/Core/Functions.php

    r3669756 r3722220  
    680680}
    681681
     682
     683/**
     684 * Send an event of your own to the flows of the connected Joinotify account.
     685 *
     686 * The event is queued and sent in the background with the site's other events, and only when the
     687 * owner switched on syncing with Joinotify Cloud — otherwise nothing is queued and false comes
     688 * back. Its name lives in the `custom.` space (`custom.quote.requested`); describe it
     689 * in the catalog through the `Joinotify/Cloud_Sync/Catalog` filter so the flow builder can offer it.
     690 *
     691 * @since 2.5.0
     692 * @param string $name `custom.` and up to three segments of lowercase letters, digits and underscores.
     693 * @param array<string,mixed> $data What the flow reads as `{{trigger.*}}`.
     694 * @param array<string,mixed>|null $contact Who it is about: `ref` (`{ kind, id }`), `phone`, `email`, `first_name`, `last_name`, `country`, `attributes`, `tags`.
     695 * @return string|false The event id, or false when it was not queued.
     696 */
     697function joinotify_track( $name, $data = array(), $contact = null ) {
     698        return \MeuMouse\Joinotify\Cloud_Sync\Emitters::track( $name, $data, $contact );
     699}
Note: See TracChangeset for help on using the changeset viewer.