🔞 ADULT: Knowledgebase/variables - HD Photos!

Variables Reference

WS Form variables enable you to add dynamic content to various elements of your form such as default field values and email templates.

Looking for some of our most commonly used variables? Check out our Variable Cheat Sheet!

Areas where WS Form variables can be used are accompanied by a field lookup icon. By clicking this icon, a list of the available variables will be shown below the corresponding field. Clicking on a variable will insert it into the field you are editing.

All WS Form variables start with the # character. For example:

#blog_name

Some variables take additional parameters. For example:

#field(123)

If a variable takes more than one parameter, you separate those values with a comma. For example:

#email_submission(true,true,true)

If a variable parameter contains a comma, you should encase it in double quotes. For example:

#server_date_custom("d m, Y")

WS Form Variable List

The following variables are available for use in WS Form.

Author

VariableNameDescriptionUsage
#author_display_nameDisplay NameReturns the author of the current post.Actions
#author_emailEmailReturns the author of the current post.Actions
#author_first_nameFirst NameReturns the author of the current post.Actions
#author_idIDReturns the author of the current post.Actions
#author_last_nameLast NameReturns the author of the current post.Actions
#author_nicknameNicknameReturns the author of the current post.Actions

Blog

VariableNameDescriptionUsage
#blog_admin_emailAdmin EmailReturns the Administrator Email Address setting in WordPress Settings > General.Actions
#blog_charsetCharacter SetReturns the site character set.Client-side & Actions
#blog_dateCurrent DateReturns the blog time formatted according to the Time Format setting found in WordPress Settings > General. For more information about this variable, click here.Actions
#blog_date_custom("format", seconds_offset)Custom DateReturns the blog date and time in the specified format (PHP date format). For more information about this variable, click here.Actions
#blog_languageLanguageReturns the Language setting in WordPress Settings > General.Client-side & Actions
#blog_nameNameReturns the Site Title setting in WordPress Settings > General.Client-side & Actions
#blog_timeCurrent TimeReturns the blog time formatted according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here.Actions
#blog_urlURLReturns the WordPress Address (URL) setting in WordPress Settings > General.Client-side & Actions

Calculation

VariableNameDescriptionUsage
#calc(calculation)CalculationReturns the calculated value. For more information about this variable, click here.Client-side

Character

VariableNameDescriptionUsage
#character_countCountReturns the total character count. For more information about this variable, click here.
#character_count_labelCount LabelReturns 'character' or 'characters' depending on the character count. For more information about this variable, click here.
#character_maxMaximumReturns the maximum character length that you set for a field. For more information about this variable, click here.
#character_max_labelMaximum LabelReturns 'character' or 'characters' depending on the maximum character length. For more information about this variable, click here.
#character_minMinimumReturns the minimum character length that you set for a field. For more information about this variable, click here.
#character_min_labelMinimum LabelReturns 'character' or 'characters' depending on the minimum character length. For more information about this variable, click here.
#character_remainingCount RemainingIf you set a maximum character length for a field, this will return the total remaining character count. For more information about this variable, click here.
#character_remaining_labelCount Remaining LabelIf you set a maximum character length for a field, this will return the total remaining character count. For more information about this variable, click here.

Checkbox

VariableNameDescriptionUsage
#checkbox_count(field_id, include_hidden)Checkbox Checked CountUse this variable to return the number of checkboxes that have been checked in a checkbox field. For example: #checkbox_count(123) where '123' is the field ID shown in the layout editor. Use #text(#checkbox_count(123)) to keep the value dynamically updated. For more information about this variable, click here.Client-side
#checkbox_count_total(field_id, include_hidden)Checkbox Rows CountUse this variable to return the total number of checkboxes in a checkbox field. For example: #checkbox_count_total(123) where '123' is the field ID shown in the layout editor. Use #text(#checkbox_count_total(123)) to keep the value dynamically updated. Set include_hidden attribute to true to include hidden checkboxes. For more information about this variable, click here.Client-side
#checkbox_label(field_id, "delimiter")Checkbox LabelUse this variable to insert the label of a checkbox field on your form. For example: #checkbox_label(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here.Client-side

Client

VariableNameDescriptionUsage
#client_dateCurrent DateReturns the users web browser local date according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here.Client-side
#client_date_custom("format", seconds_offset)Custom DateReturns the users web browser local date and time in the specified format (PHP date format). For more information about this variable, click here.Client-side
#client_timeCurrent TimeReturns the users web browser local time according to the Time Format setting found in WordPress Settings > General. For more information about this variable, click here.Client-side

Conditional

VariableNameDescriptionUsage
#endifEnd of IF condition.End of IF condition. For more information about this variable, click here.Client-side & Actions
#if("condition")Start of IF condition.Start of IF condition. For more information about this variable, click here.Client-side & Actions

Data Grid Rows

VariableNameDescriptionUsage
#data_grid_row_action_variableAction Variable ColumnUse this variable within a data grid row to insert the text found in the action variable column. For more information about this variable, click here.
#data_grid_row_labelLabel ColumnUse this variable within a data grid row to insert the text found in the label column. For more information about this variable, click here.
#data_grid_row_pricePrice ColumnUse this variable within a data grid row to insert the text found in the price column. For more information about this variable, click here.
#data_grid_row_price_currencyPrice Column (With Currency)Use this variable within a data grid row to insert the text found in the price column formatted using the currency settings. For more information about this variable, click here.
#data_grid_row_valueValue ColumnUse this variable within a data grid row to insert the text found in the value column. For more information about this variable, click here.
#data_grid_row_woocommerce_cartWooCommerce Cart ColumnUse this variable within a data grid row to insert the text found in the WooCommerce cart column. For more information about this variable, click here.

Date

VariableNameDescriptionUsage
#date_format("date", "format")Format a date stringReturn a date formatted according to the PHP date function. The date supplied must be in a supported format such as ISO 8601, for example: 2025-12-30T21:03:14+00:00. For field related date formatting, see: #field_date_formatClient-side & Actions

E-Commerce

VariableNameDescriptionUsage
#ecommerce_cart_discountDiscountExcludes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_discount_currencyDiscount (Currency)Includes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_discount_spanDiscount (Span)Excludes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_discount_span_currencyDiscount (Span Currency)Includes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_gift_wrapGift WrapExcludes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_gift_wrap_currencyGift Wrap (Currency)Includes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_gift_wrap_spanGift Wrap (Span)Excludes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_gift_wrap_span_currencyGift Wrap (Span Currency)Includes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_handling_feeHandling FeeExcludes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_handling_fee_currencyHandling Fee (Currency)Includes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_handling_fee_spanHandling Fee (Span)Excludes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_handling_fee_span_currencyHandling Fee (Span Currency)Includes currency symbol. For more information about this variable, click here.Client-side
#ecommerce_cart_insuranceInsuranceExcludes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_insurance_currencyInsurance (Currency)Includes currency symbol. For more information about this variable, click here.Client-side & Actions
#ecommerce_cart_insurance_spanInsurance (Span)Excludes currency symbol. For more information about this variable,