BP_Document_Privacy::instance()
Get the instance of this class.
Description
Return
(BP_Document_Privacy|null)
Source
File: bp-document/classes/class-bp-document-privacy.php
public static function instance() { static $instance = null; if ( null === $instance ) { $instance = new BP_Document_Privacy(); } return $instance; }
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.