Twilio Feed Meta

Introduction

The Feed Object meta for the Twilio add-on is an associative array containing the properties which determine how the add-on should process the form submission.

$feed['meta'] = array(
	'feedName'                                => 'Your Feed Name',
	'feed_condition_conditional_logic'        => true,
	'feed_condition_conditional_logic_object' => array(
		'conditionalLogic' => array(),
	),
);

Usage

We recommend accessing the $feed meta using the rgar() or rgars() functions, e.g.:

$conditional_logic_enabled = rgars( $feed, 'meta/feed_condition_conditional_logic' );

Properties

  • feedName string

    The feed name which appears on the add-ons feeds tab.

  • fromNumber string

    Phone number that the message will be sent FROM.

  • toNumber string

    Phone number that the message will be sent TO.

  • smsMessage string

    The SMS message that will be sent. Can contain merge tags.

  • shortenURL boolean

    Should Bitly automatically shorten all URLs? Default is false.

  • feed_condition_conditional_logic boolean

    Is the feed condition (conditional logic) setting enabled. Default is false.

  • feed_condition_conditional_logic_object array

    An associative array containing the conditional logic rules. See the Conditional Logic Object for more details.