D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
oems
/
wp-content
/
plugins
/
ultimate-blocks
/
includes
/
Filename :
class-ultimate-blocks-constants.php
back
Copy
<?php /** * The file defines global constants for the plugin * * @link http://imtiazrayhan.com/ * @since 1.0.2 * * @package Ultimate_Blocks_Constants * @subpackage Ultimate_Blocks/includes */ /** * The core plugin class. * * This is used for defining constants which are used throughout plugin. * * @since 1.0.2 * @package Ultimate_Blocks_Constants * @subpackage Ultimate_Blocks_Constants/includes * @author Imtiaz Rayhan <imtiazrayhan@gmail.com> */ class Ultimate_Blocks_Constants { const PLUGIN_VERSION = '3.2.9'; const PLUGIN_NAME = 'ultimate-blocks'; /** * Get Plugin version * * @return string */ public static function plugin_version() { return self::PLUGIN_VERSION; } /** * Get Plugin name * * @return string */ public static function plugin_name() { return self::PLUGIN_NAME; } /** * Get Plugin URL * * @return string */ public static function plugin_path() { return WP_PLUGIN_DIR . '/' . self::plugin_name() . '/'; } /** * Get Plugin URL * * @return string */ public static function plugin_url() { return plugin_dir_url( dirname( __FILE__ ) ); } /** * Get Plugin TEXT DOMAIN * * @return string */ public static function text_domain() { return 'ultimate-blocks'; } }