bp_get_document_date_modified()
Return the document date created.
Description
Return
(string) The document date created.
Source
File: bp-document/bp-document-template.php
function bp_get_document_date_modified() {
global $document_template;
$date = date_i18n( bp_get_option( 'date_format' ), strtotime( $document_template->document->date_modified ) );
/**
* Filters the document date modified being displayed.
*
* @since BuddyBoss 1.4.0
*
* @param string The date modified.
*/
return apply_filters( 'bp_get_document_date_modified', $date );
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.