wpum_get_core_page_id()

Retrieves the page ID number of the core pages used by the theme and selected into the admin panel. Information about each page can be found here  http://docs.wpusermanager.com/category/54-pages

Supported parameters:

  • $name - supported options: login, register, password, account, profile
Example usage:
Get login page ID:
$login_page_id = wpum_get_core_page_id( 'login' );

Get registration page ID:

$registration_page_id = wpum_get_core_page_id( 'register' );