Last active
March 19, 2019 02:16
-
-
Save rafaehlers/5f890b4e0b34e928f698ff8908b2720f to your computer and use it in GitHub Desktop.
Modify the title of the window when priting the View using the DataTables layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // Make sure to remove this line | |
| add_filter('gravityview/datatables/button_print','gravityview_dtbuttons_print_title', 10 ,2); | |
| function gravityview_dtbuttons_print_title( $button_config = array(), $view_id){ | |
| $button_config['title'] = 'Add your own title here'; | |
| return $button_config; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment