gpalf_should_hide_list_buttons
Description
Specify whether List field add/remove buttons should be visible. Defaults to true.
Usage
Applied globally
add_filter( 'gpalf_should_hide_list_buttons', 'my_custom_function' );
Applied to specific form
add_filter( 'gpalf_should_hide_list_buttons_FORMID', 'my_custom_function' );
Applied to specific field
add_filter( 'gpalf_should_hide_list_buttons_FORMID_FIELDID', 'my_custom_function' );
Parameters
$should_hide
bool
Should List field add/remove buttons be hidden?
$field
GF_Field_List
Current List field.
$form
array
Current form.
Since
0.9.2
Hook added.