Check if SP function exists to avoid conflict

This commit is contained in:
Brian Miyaji
2014-07-24 01:10:39 +10:00
parent 6d3c7ebca2
commit e3396a2c2d

View File

@@ -395,6 +395,8 @@ final class SportsPress {
endif;
if ( ! function_exists( 'SP' ) ):
/**
* Returns the main instance of SP to prevent the need to use globals.
*
@@ -406,3 +408,5 @@ function SP() {
}
SP();
endif;