We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d092ad commit 850cb4aCopy full SHA for 850cb4a
entryexpiration.php
@@ -48,8 +48,8 @@ public static function load() {
48
*
49
* @see GF_Entry_Expiration::get_instance()
50
51
- * @return object GF_Entry_Expiration
+ * @return GF_Entry_Expiration|false
52
*/
53
function gf_entryexpiration() {
54
- return GF_Entry_Expiration::get_instance();
+ return class_exists( 'GF_Entry_Expiration' ) ? GF_Entry_Expiration::get_instance() : false;
55
}
0 commit comments