The ID of the current page is available via the global $post variable, so to get the ID use:
global $post;
$currentPage = $post->ID;
Then you can use $currentPage in your query 🙂
The ID of the current page is available via the global $post variable, so to get the ID use:
global $post;
$currentPage = $post->ID;
Then you can use $currentPage in your query 🙂