xprofile_add_admin_css()
Enqueue the CSS for XProfile admin styling.
Description
Source
File: bp-xprofile/bp-xprofile-cssjs.php
17 18 19 20 21 22 23 24 25 26 27 28 | function xprofile_add_admin_css() { if ( ! empty ( $_GET [ 'page' ] ) && strpos ( $_GET [ 'page' ], 'bp-profile-setup' ) !== false ) { $min = bp_core_get_minified_asset_suffix(); wp_enqueue_style( 'xprofile-admin-css' , buddypress()->plugin_url . "bp-xprofile/admin/css/admin{$min}.css" , array (), bp_get_version() ); wp_style_add_data( 'xprofile-admin-css' , 'rtl' , true ); if ( $min ) { wp_style_add_data( 'xprofile-admin-css' , 'suffix' , $min ); } } } |
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.