WPSEO_Admin_Banner_Sidebar::get_active_extensions PHP Method

get_active_extensions() protected method

Returns an array with the Yoast SEO extensions with the value true when they are active.
protected get_active_extensions ( ) : array
return array
    protected function get_active_extensions()
    {
        return array('video' => class_exists('wpseo_Video_Sitemap'), 'woocommerce' => class_exists('Woocommerce') && class_exists('Yoast_WooCommerce_SEO'), 'news' => class_exists('WPSEO_News'), 'local' => defined('WPSEO_LOCAL_VERSION'));
    }