get children from current variable (taxonomy) via shortcode

Ok I finally notice what is it that I have to do! 😀
The variable was already set in the array in the shortcode atts.

All I had to do was set the parent=$category in the before the filter:

$terms = get_terms('cat_portfolio', array('hide_empty'=> true, 'parent'=> $category));

For wordpress developers maybe this is very easy but I am learning.
Hope this helps someone.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)