This filter is used to overwrite a table name (database table). It's indeed used by modules like NsMultiStore which needs to inject a store prefix on runtime.

You however need to be aware of the consequences on the table name. This filter doesn't apply to some tables and crud instances that aren't mean to be extendable (might change in the future): users, roles, permissions, role permissions.

This is the way you'll use it on your ServiceProvider (register method).