Description
Compares the wpmem_reg_page value (passed through the form) with the register page URL from settings.
This utility function that will tell you if the current (or requested) page is the set registration page. This can be useful in various applications where a condition may exist that you want to occur if the current page is or is not the registration page.
Parameters
$check
(mixed) (optional) Page slug or ID of the page to check. Default: false
Return Value
boolean true|false
Usage
Examples
Notes
Page slug or ID can be passed to check a specific page. If no value is passed as an argument, the function will use get_the_ID() to get the post ID of the current item in the Loop.
Changelog
Introduced in version 3.1.4
Added default of current page ID in 3.1.7
Source
wpmem_is_reg_page() is located in /inc/api/php.