/** * Get accessor method for instance property. * * @return WP_Disable_Comments Instance of the class. */ public static function get_instance() { if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }
<?php WP_Disable_Comments::get_instance();