bp_docs_enable_folders

Is the folders function enabled?.

Description

bp_docs_enable_folders(); 

Use this toggle to disable folders.


Usage

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

Defined (1)

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

/includes/addon-folders.php  
  1. function bp_docs_enable_folders() { 
  2. return apply_filters( 'bp_docs_enable_folders', true );