public static function get( $key = null ) {
		$path = apply_filters(
			'inc2734_view_controller_config_path',
			untrailingslashit( __DIR__ ) . '/../config/config.php'
		);

		if ( ! file_exists( $path ) ) {
			return;
		}

		$config = include( $path );

		if ( is_null( $key ) ) {
			return $config;
		}

		if ( ! isset( $config[ $key ] ) ) {
			return;
		}

		return $config[ $key ];
	}
public static function get( $key = null ) {
		$path = apply_filters(
			'inc2734_view_controller_config_path',
			untrailingslashit( __DIR__ ) . '/../config/config.php'
		);

		if ( ! file_exists( $path ) ) {
			return;
		}

		$config = include( $path );

		if ( is_null( $key ) ) {
			return $config;
		}

		if ( ! isset( $config[ $key ] ) ) {
			return;
		}

		return $config[ $key ];
	}
public static function get ( $ key = null ) { $ path = apply_filters ( 'inc2734_view_controller_config_path' , untrailingslashit ( __DIR__ ) . '/../config/config.php' ) ; if ( ! file_exists ( $ path ) ) { return ; } $ config = include ( $ path ) ; if ( is_null ( $ key ) ) { return $ config ; } if ( ! isset ( $ config [ $ key ] ) ) { return ; } return $ config [ $ key ] ; }
Getting config value

@param string $key the key of the config
@return mixed
Getting config value