| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/real-media-library/inc/base/ |
Upload File : |
<?php
namespace MatthiasWeb\RealMediaLibrary\base;
use MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\Freemium\FreemiumProvider;
use MatthiasWeb\RealMediaLibrary\Vendor\MatthiasWeb\Utils\Base;
\defined('ABSPATH') or die('No script kiddies please!');
// Avoid direct file request
/**
* To make the composer package in packages/utils work we need to
* make the constant variables be passed to the High-Order class.
*
* Put this trait in all your classes! Note also not to use the
* below methods by your plugin, instead use direct access to the constant.
* It just is for composer packages which needs to access dynamically the plugin!
*/
trait UtilsProvider
{
use Base;
use FreemiumProvider;
/**
* Get the prefix of this plugin so composer packages can dynamically
* build other constant values on it.
*
* @return string
* @codeCoverageIgnore It only returns a string with the constant prefix
*/
public function getPluginConstantPrefix()
{
return 'RML';
}
}