wpsc_is_boost_installed()
Check if Jetpack Boost has been installed.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wpsc_is_boost_installed();
Код wpsc_is_boost_installed() wpsc is boost installed WPSCache 1.12.0
function wpsc_is_boost_installed() { $plugins = array_keys( get_plugins() ); foreach ( $plugins as $plugin ) { if ( str_contains( $plugin, 'jetpack-boost.php' ) ) { return true; } } return false; }