Function Reference: geodir_add_listing_page_id
Summary
Get the page ID of the add listing page.
Package
Geodirectory
Return Values
- (int|null)
- Return the page ID if present or null if not.
Change Log
Since: 1.4.6
Source File
geodir_add_listing_page_id() is located in geodirectory-functions/helper_functions.php [Line: 16]
Source Code
function geodir_add_listing_page_id(){ $gd_page_id = get_option('geodir_add_listing_page'); if (geodir_is_wpml()) { $gd_page_id = geodir_wpml_object_id($gd_page_id, 'page', true); } return $gd_page_id; }