bp_cover_default_scripts

The BuddyPress cover bp cover default scripts function.

Description

bp_cover_default_scripts(); 

Usage

  1. if ( !function_exists( 'bp_cover_default_scripts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-cover/templates/default/theme.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_cover_default_scripts(); 
  7.  

Defined (1)

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

/templates/default/theme.php  
  1. function bp_cover_default_scripts() {  
  2. wp_enqueue_style( 'bp-cover-profile-css', BPCO_PLUGIN_URL . 'templates/default/css/style.css', $dep = array(), $version = BPCO_PLUGIN_VERSION ); 
  3. wp_enqueue_script( 'bp-cover-profile-js', BPCO_PLUGIN_URL . 'templates/default/js/bp-cover-profile.js', $dep = array(), $version = BPCO_PLUGIN_VERSION );