bp_docs_doc_edit_link

Echoes the output of bp_docs_get_doc_edit_link().

Description

bp_docs_doc_edit_link( (bool) $doc_id = false ); 

Parameters (1)

0. $doc_id — Optional. (bool) => false
The doc id.

Usage

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

Defined (1)

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

/includes/templatetags.php  
  1. function bp_docs_doc_edit_link( $doc_id = false ) { 
  2. echo bp_docs_get_doc_edit_link( $doc_id );