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
Wpff_Tokens::wpff_entry_possible_tokens( $tokens = array(), $args = array() )
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/wp-fluent-forms/tokens/wpff-tokens.php
public function wpff_entry_possible_tokens( $tokens = array(), $args = array() ) { $fields = array( array( 'tokenId' => 'WPFFENTRYID', 'tokenName' => __( 'Entry ID', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'WPFFENTRYTOKENS', ), array( 'tokenId' => 'WPFFENTRYIP', 'tokenName' => __( 'User IP', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'WPFFENTRYTOKENS', ), array( 'tokenId' => 'WPFFENTRYSOURCEURL', 'tokenName' => __( 'Entry source URL', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'WPFFENTRYTOKENS', ), array( 'tokenId' => 'WPFFENTRYDATE', 'tokenName' => __( 'Entry submission date', 'uncanny-automator' ), 'tokenType' => 'text', 'tokenIdentifier' => 'WPFFENTRYTOKENS', ), ); $tokens = array_merge( $tokens, $fields ); return $tokens; }
Expand full source code Collapse full source code View on Github