Documentation says: "A callback function that is called when a user clicks on a pagination link".
This statement is not true, it is called when pagination is created too. This is an awful behaviour to integrate pagination with AJAX calls. I know I can do it pre-loading data, but to my use case it is not necessary.
Also, this behaviour is not expected by documentation.