Skip to main content

Filter: gravityview/edit_entry/hide-product-fields

Hide product fields from being editable.

Parameters

NameTypeDescription
$hide_product_fieldsboolWhether to hide product fields in the editor. Uses $entry data to determine.

See Also

  • GVCommon::entry_has_transaction_data()

Since

  • 1.9.1
  • 1.20: Changed default from false to whether or not entry has transaction data

Source

Defined in includes/fields/class-gravityview-field-product.php at line 115