Function Reference: geodir_login_page_id

Summary

Get the page ID of the login page.

Package

Geodirectory

Return Values

(int|null)
  • Return the page ID if present or null if not.

Change Log

Since: 1.5.3

Source File

geodir_login_page_id() is located in geodirectory-functions/helper_functions.php [Line: 118]

Source Code

function geodir_login_page_id(){
    $gd_page_id = get_option('geodir_login_page');

    if (geodir_is_wpml()) {
        $gd_page_id =  geodir_wpml_object_id($gd_page_id, 'page', true);
    }

    return $gd_page_id;
}