Changeset 14172 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/functions.php
- Timestamp:
- 11/13/2024 02:53:50 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/functions.php
r14104 r14172 1344 1344 } 1345 1345 add_filter( 'bbp_is_single_user_profile', 'wporg_is_single_user_profile' ); 1346 1347 /** 1348 * Get the URL for the forums welcome page. 1349 * Slug is translated, so the URL will be correct for the current locale. 1350 * 1351 * @return string 1352 */ 1353 function wporg_support_get_welcome_url() { 1354 return site_url( 1355 /* Translators: slug for the welcome page, e.g. 'welcome' will produce https://wordpress.org/support/welcome/ */ 1356 esc_html__( 'welcome', 'wporg-forums' ) 1357 ); 1358 } 1346 1359 1347 1360
Note: See TracChangeset
for help on using the changeset viewer.