Skip to content

Instantly share code, notes, and snippets.

@LostKobrakai
Created October 13, 2015 18:24
Show Gist options
  • Select an option

  • Save LostKobrakai/1c4bc02ef3a0a1437874 to your computer and use it in GitHub Desktop.

Select an option

Save LostKobrakai/1c4bc02ef3a0a1437874 to your computer and use it in GitHub Desktop.
<?php
echo wire('pages')->getPageFinder()->find(new Selectors($selector), array("returnQuery" => true))->getQuery();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment