Function Reference: geodir_detail_page_tabs_list
Summary
Returns the list of tabs available as an array.
Package
GeoDirectory
Return Values
- (mixed|array)
- Tabs array.
Change Log
Since: 1.0.0
Source File
geodir_detail_page_tabs_list() is located in geodirectory-functions/custom_functions.php [Line: 1415]
Source Code
function geodir_detail_page_tabs_list() { $tabs_excluded = get_option( 'geodir_detail_page_tabs_excluded' ); $tabs_array = geodir_detail_page_tabs_array(); if ( ! empty( $tabs_excluded ) ) { foreach ( $tabs_excluded as $tab ) { if ( array_key_exists( $tab, $tabs_array ) ) { unset( $tabs_array[ $tab ] ); } } } return $tabs_array; }