Get view via php based on page number and 1 argument (uid) I have a view that it has an contextual filter based on "uid". 
Now I need to get it via PHP and I can use views_embed_view(). But I need to get only page FOO or page BAR and views_embed_view() accepts only "arguments/contextual filter".  

Which is the correct way to call views FOO, for display BAR, using argument "uid = X" and get only "page = Z"

Thanks.

M.
You can specify a page inside a view with views_embed_view().

Fisrt argument will be the view's name

Second will be the page you want to display (Defaults to default)

And then as many contextual filters you want/have

So it will look something like this views_embed_view('view_mahcine_name', 'page_3', uid);