Changeset 10758
- Timestamp:
- 05/14/2016 04:39:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r10755 r10758 503 503 function bp_core_get_directory_page_id( $component = null ) { 504 504 if ( ! $component ) { 505 506 505 $component = bp_current_component(); 506 } 507 507 508 508 $bp_pages = bp_core_get_directory_page_ids( 'all' ); … … 511 511 if ( $component && isset( $bp_pages[ $component ] ) ) { 512 512 $page_id = (int) $bp_pages[ $component ]; 513 513 } 514 514 515 515 return $page_id;
Note: See TracChangeset
for help on using the changeset viewer.