bp_docs_delete_doc_link

Echoes the output of bp_docs_get_delete_doc_link().

Description

bp_docs_delete_doc_link( (bool) $force_delete = false ); 

Parameters (1)

0. $force_delete — Optional. (bool) => false
The force delete.

Usage

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

Defined (1)

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

/includes/templatetags.php  
  1. function bp_docs_delete_doc_link( $force_delete = false ) { 
  2. echo bp_docs_get_delete_doc_link( $force_delete );