bp_docs_activity_filter_options

Adds BP Docs options to activity filter dropdowns.

Description

bp_docs_activity_filter_options(); 

Usage

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

Defined (1)

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

/includes/activity.php  
  1. function bp_docs_activity_filter_options() { 
  2. ?> 
  3.  
  4. <option value="bp_doc_created"><?php _e( 'New Docs', 'bp-docs' ); ?></option> 
  5. <option value="bp_doc_edited"><?php _e( 'Doc Edits', 'bp-docs' ); ?></option> 
  6. <option value="bp_doc_comment"><?php _e( 'Doc Comments', 'bp-docs' ); ?></option> 
  7.  
  8. <?php