Changeset 13886 for trunk/src/bp-core/bp-core-options.php
- Timestamp:
- 06/01/2024 07:41:30 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-options.php
r13870 r13886 726 726 * @since 1.7.0 727 727 * 728 * @param string $ defaultOptional. Fallback value if not found in the database.729 * Default: 'legacy'.728 * @param string $package_id Optional. Fallback value if not found in the database. 729 * Default: 'legacy'. 730 730 * @return string ID of the theme package. 731 731 */ 732 function bp_get_theme_package_id( $ default= 'legacy' ) {732 function bp_get_theme_package_id( $package_id = 'legacy' ) { 733 733 734 734 /** … … 737 737 * @since 1.7.0 738 738 * 739 * @param string $ valueThe current theme package ID.740 */ 741 return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $ default) );742 } 739 * @param string $package_id The current theme package ID. 740 */ 741 return apply_filters( 'bp_get_theme_package_id', bp_get_option( '_bp_theme_package_id', $package_id ) ); 742 }
Note: See TracChangeset
for help on using the changeset viewer.