HEX
Server: Apache
System: Linux webm006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/cortonavolley/wp-content/plugins/subway-core/helpers/helper.php
<?php

if ( ! function_exists( 'subway_core_is_installed' ) ) {
    /**
     * Function that checks if forward module installed
     *
     * @param $name string - module name
     *
     * @return bool
     */
    function subway_core_is_installed( $name ) {

        switch ( $name ) {
            case 'theme';
                return defined( 'SUBWAY_QODE' );
                break;
            case 'woocommerce';
                return function_exists( 'is_woocommerce' );
                break;
            case 'gutenberg-editor';
                return function_exists( 'register_block_type' );
                break;
            default:
                return false;
        }
    }
}