bp_docs_container_class

Echo the classes for the bp-docs container element.

Description

bp_docs_container_class(); 

All Docs content appears in a div.bp-docs. Classes are also included for current theme/parent theme, eg 'bp-docs-theme-twentytwelve'.


Usage

  1. if ( !function_exists( 'bp_docs_container_class' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-docs/includes/templatetags.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_docs_container_class(); 
  7.  

Defined (1)

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

/includes/templatetags.php  
  1. function bp_docs_container_class() { 
  2. echo esc_attr( bp_docs_get_container_class() );