wpsc_is_boost_current()
Check if the Jetpack Boost that is installed is current.
No Hooks.
Return
true|false
. True if Jetpack Boost is same as or newer than version 3.4.0
Usage
wpsc_is_boost_current();
wpsc_is_boost_current() wpsc is boost current code WPSCache 1.12.4
function wpsc_is_boost_current() { if ( defined( 'JETPACK_BOOST_VERSION' ) ) { return version_compare( (string) JETPACK_BOOST_VERSION, MINIMUM_BOOST_VERSION, '>=' ); } else { return true; // don't care if Boost is not installed } }