Documentation

Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful_datatables_language

helpful_datatables_language

Help: If you do not know how to execute or save your own PHP code, you can find help here: How to execute PHP code on your WordPress website

Helpful uses the Datatables plugin. In order to show the datatables in your language, Helpful provides a filter that allows you to insert the URL to the language file.

So if you want to use the German language, for example, you can write the following in your functions.php:

add_filter( 'helpful_datatables_language', function() {
	return '//cdn.datatables.net/plug-ins/1.10.20/i18n/German.json';
});

Was this post helpful?