Skip to content

Commit 8b846fa

Browse files
authored
Show Inventory Limit in Form Editor
1 parent 17c9577 commit 8b846fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
/**
3+
* Gravity Perks // Inventory // Show Inventory Limit in Form Editor
4+
* https://gravitywiz.com/documentation/gravity-forms-inventory/
5+
*
6+
* By default the current inventory is shown in the form editor.
7+
* Use this filter to show the inventory limit.
8+
*/
9+
add_filter( 'gpi_always_show_inventory_limit_in_editor', '__return_true' );

0 commit comments

Comments
 (0)