Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Gf_Tokens::gf_entry_possible_tokens( $tokens = array(), $args = array() )
Gravity forms entry possible tokens.
Contents
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $tokens
(Optional)
Default value: array()
- $args
(Optional)
Default value: array()
Return Return
(array|mixed|string[][])
Source Source
File: src/integrations/gravity-forms/tokens/gf-tokens.php
public function gf_entry_possible_tokens( $tokens = array(), $args = array() ) { $fields = array( array( 'tokenId' => 'GFENTRYID', 'tokenName' => __( 'Entry ID', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'GFENTRYTOKENS', ), array( 'tokenId' => 'GFUSERIP', 'tokenName' => __( 'User IP', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'GFENTRYTOKENS', ), array( 'tokenId' => 'GFENTRYDATE', 'tokenName' => __( 'Entry submission date', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'GFENTRYTOKENS', ), array( 'tokenId' => 'GFENTRYSOURCEURL', 'tokenName' => __( 'Entry source URL', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'GFENTRYTOKENS', ), ); $tokens = array_merge( $tokens, $fields ); return $tokens; }
Expand full source code Collapse full source code View on Github