bp_core_admin_bar_css

  • apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array( 'admin-bar' ), '20110723' )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-adminbar.php :: Trac Source Line: 238
      	if ( !bp_use_wp_admin_bar() )
      		return;
      
      	// Admin bar styles
      	if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/admin-bar.dev.css';
      	else
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/admin-bar.css';
      
      	wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array( 'admin-bar' ), '20110723' );
      
      	if ( !is_rtl() )
      		return;
      
      	if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/admin-bar-rtl.dev.css';
      	else
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/admin-bar-rtl.css';
      
      	wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_admin_bar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' );
      
  • apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array(), '20110723' )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-buddybar.php :: Trac Source Line: 614
      		return;
      
      	if ( file_exists( get_stylesheet_directory() . '/_inc/css/adminbar.css' ) ) // Backwards compatibility
      		$stylesheet = get_stylesheet_directory_uri() . '/_inc/css/adminbar.css';
      	elseif ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/buddybar.dev.css';
      	else
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/buddybar.css';
      
      	wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array(), '20110723' );
      
      	if ( !is_rtl() )
      		return;
      
      	if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/buddybar-rtl.dev.css';
      	else
      		$stylesheet = BP_PLUGIN_URL . '/bp-core/css/buddybar-rtl.css';
      
      	wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_buddybar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' );
      

Comments are closed.