Adding action hook for WP_Twig