diff --git a/src/Themosis/Helpers/helpers.php b/src/Themosis/Helpers/helpers.php index 90b37793..322fd85e 100644 --- a/src/Themosis/Helpers/helpers.php +++ b/src/Themosis/Helpers/helpers.php @@ -60,8 +60,10 @@ function themosis_convert_path($path) */ function td($value) { + $attributes = func_get_args(); + if(count($attributes) == 1) $attributes = $attributes[0]; echo '
';
-        print_r($value);
+        print_r($attributes);
         echo '
'; wp_die(); } @@ -77,8 +79,10 @@ function td($value) */ function tp($value) { + $attributes = func_get_args(); + if(count($attributes) == 1) $attributes = $attributes[0]; echo '
';
-        print_r($value);
+        print_r($attributes);
         echo '
'; } }