Manually execute a view, the right way


/ Published in: PHP
Save to your folder(s)

If `views_embed_view()` or just `$view->execute()` are called, the default view settings are used (only shows 10 entries, etc.) so we have to call `$view->set_display()` & `$view->pre_execute()`.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.