This function returns the post ID of the current page.
The function does not echo output. Since it returns a string, this can be used for comparisons.
This function does not accept any arguments.
(int) The post ID of the current page.
Introduced in version 3.1.7
wpmem_current_post_id() is located in /includes/api/api.php.