Changeset 11348 for trunk/src/bp-core/admin/bp-core-admin-functions.php
- Timestamp:
- 12/28/2016 08:33:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r11256 r11348 1325 1325 } 1326 1326 add_action( 'wp_ajax_bp_dismiss_notice', 'bp_core_admin_notice_dismiss_callback' ); 1327 1328 /** 1329 * Add a "buddypress" class to body element of wp-admin. 1330 * 1331 * @since 2.8.0 1332 * 1333 * @param string $classes CSS classes for the body tag in the admin, a comma separated string. 1334 * 1335 * @return string 1336 */ 1337 function bp_core_admin_body_classes( $classes ) { 1338 return $classes . ' buddypress'; 1339 } 1340 add_filter( 'admin_body_class', 'bp_core_admin_body_classes' );
Note: See TracChangeset
for help on using the changeset viewer.