# yaymail/3.4/includes/License/CorePlugin.php

YayMail – WooCommerce Email Customizer, version 3.4. 26 lines.

- Page: https://pluginprobe.com/plugins/yaymail/3.4/code/includes/License/CorePlugin.php
- Raw: https://pluginprobe.com/plugins/yaymail/3.4/raw/includes/License/CorePlugin.php
- Modified: 2023-11-22T13:12:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yaymail/3.4/code/includes/License/CorePlugin.php#L10-L20`.

```php
<?php

namespace YayMail\License;

defined( 'ABSPATH' ) || exit;

class CorePlugin {

	public static function get( $name ) {
		$data = array(
			'path'        => YAYMAIL_PLUGIN_PATH,
			'url'         => YAYMAIL_PLUGIN_URL,
			'basename'    => YAYMAIL_PLUGIN_BASENAME,
			'version'     => YAYMAIL_VERSION,
			'slug'        => 'yaymail',
			'link'        => 'https://yaycommerce.com/yaymail-woocommerce-email-customizer/',
			'download_id' => '4216',
		);

		if ( isset( $data[ $name ] ) ) {
			return $data[ $name ];
		}
		return null;
	}
}

```
