gpi_shortcode_scope_display_value
Description
Filter the scope display value for the inventory item.
Usage
Applied globally
add_filter( 'gpi_shortcode_scope_display_value', 'my_custom_function' );
Applied to specific form
add_filter( 'gpi_shortcode_scope_display_value_FORMID', 'my_custom_function' );
Parameters
$scope_display_value
string
The scope display value.
$field
array
The field object.
$resource_field_id
int
The resource field ID.
$atts
array
The shortcode attributes.
Since
1.0
Hook added.