mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
git-svn-id: https://buddypress.svn.wordpress.org/tags/blogs@335 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
12 lines
No EOL
385 B
PHP
12 lines
No EOL
385 B
PHP
<?php
|
|
|
|
function bp_blogs_add_admin_css() {
|
|
global $bp, $wpdb;
|
|
|
|
if ( $wpdb->blogid == get_usermeta( $bp['current_userid'], 'home_base' ) ) {
|
|
if ( strpos( $_GET['page'], 'bp-blogs' ) !== false ) {
|
|
wp_enqueue_style('bp-blogs-admin-css', get_option('siteurl') . '/wp-content/mu-plugins/bp-blogs/admin-tabs/admin.css');
|
|
}
|
|
}
|
|
}
|
|
add_action( "admin_menu", 'bp_blogs_add_admin_css' ); |