Last active
October 29, 2018 21:44
-
-
Save feliciaceballos/b66e7b3ceb7311944629f3321e784d51 to your computer and use it in GitHub Desktop.
Create the WPMU DEV Forminator Recent Submissions Dashboard Widget, Get Class Instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get instance | |
* | |
* @return Forminator_Submissions_Dash_Widget | |
*/ | |
public static function get_instance() { | |
if ( is_null( self::$instance ) ) { | |
self::$instance = new self(); | |
} | |
return self::$instance; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment