How to customize the "No entries match your request." text

If you'd like to customize the text "No entries match your request." when your DataTables table is empty, you could use the plugin hook gravityview/datatables/config/language as follows:

// Replace empty table label, default: "No entries match your request."
add_filter( 'gravityview/datatables/config/language', 'my_gv_datatables_labels', 10, 1 );
function my_gv_datatables_labels( $labels ) {
	$labels['emptyTable'] = 'My new label when there are no results.';
	return $labels;

Paste the code above in your theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us