I want to embed a View in a node template. I understand that I can use views\_embed view to do that, and pass values to it. 

```
$my_arg = $node->nid; //the nid of the node that I want to use as filter
print views_embed_view('my_test_view', 'block_2', $my_arg);

```

How can I use that value as a filter ? I want that view to list nodes that have a field with the same value as the passed to the function