Skip to main content

Filter: gravityview/datatables/button_ . $button

Customise the button export options ( type is 'pdf', 'csv', 'excel', 'colvis' ).

Parameters

NameTypeDescription
$button_configarrayAssociative array of button options (mandatory 'extend' and 'text' (e.g. add pdf orientation with 'orientation' => 'landscape' ).
$buttonstringThe button type.
$view_idintView ID.

Since

  • 2.0

Source

Defined in includes/extensions/class-datatables-buttons.php at line 240