`dump` function does not work

Function did not work even if WordPress `WP_DEBUG` is set to `true`.

Replaced hardcoded false value for Twig debug with WP_DEBUG constant.