/var/www/html_fr/wp-content/plugins/yaymail/src/License/CorePlugin.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

namespace YayMail\License;

defined'ABSPATH' ) || exit;

/**
 * CorePlugin
 *
 * @package CorePlugin
 */
class CorePlugin {

    public static function 
get$name ) {
        
$data = [
            
'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;
    }
}