bp_groupblog_add_screen_css

Bp_groupblog_add_screen_css().

Description

bp_groupblog_add_screen_css(); 

Usage

  1. if ( !function_exists( 'bp_groupblog_add_screen_css' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/bp-groupblog-cssjs.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_groupblog_add_screen_css(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-groupblog-cssjs.php  
  1. function bp_groupblog_add_screen_css() { 
  2. if ( file_exists( get_stylesheet_directory() . '/groupblog/css/style.css' ) ) 
  3. wp_enqueue_style( 'bp-groupblog-screen', get_stylesheet_directory_uri() . '/groupblog/css/style.css' ); 
  4. else 
  5. wp_enqueue_style( 'bp-groupblog-screen', plugins_url() . '/bp-groupblog/groupblog/css/style.css' );