File: /var/www/vhost/www.mocrea.it/wp-content/plugins/ottar-twitter-feed/ottar-twitter-feed.php
<?php
/*
Plugin Name: Ottar Twitter Feed
Description: Plugin that adds Twitter feed functionality to our theme
Author: Edge Themes
Version: 1.0.3
*/
define( 'OTTAR_TWITTER_FEED_VERSION', '1.0.3' );
define( 'OTTAR_TWITTER_ABS_PATH', dirname( __FILE__ ) );
define( 'OTTAR_TWITTER_REL_PATH', dirname( plugin_basename( __FILE__ ) ) );
define( 'OTTAR_TWITTER_URL_PATH', plugin_dir_url( __FILE__ ) );
define( 'OTTAR_TWITTER_ASSETS_PATH', OTTAR_TWITTER_ABS_PATH . '/assets' );
define( 'OTTAR_TWITTER_ASSETS_URL_PATH', OTTAR_TWITTER_URL_PATH . 'assets' );
define( 'OTTAR_TWITTER_SHORTCODES_PATH', OTTAR_TWITTER_ABS_PATH . '/shortcodes' );
define( 'OTTAR_TWITTER_SHORTCODES_URL_PATH', OTTAR_TWITTER_URL_PATH . 'shortcodes' );
include_once 'load.php';
if ( ! function_exists( 'ottar_twitter_theme_installed' ) ) {
/**
* Checks whether theme is installed or not
* @return bool
*/
function ottar_twitter_theme_installed() {
return defined( 'EDGE_ROOT' );
}
}
if ( ! function_exists( 'ottar_twitter_feed_text_domain' ) ) {
/**
* Loads plugin text domain so it can be used in translation
*/
function ottar_twitter_feed_text_domain() {
load_plugin_textdomain( 'ottar-twitter-feed', false, OTTAR_TWITTER_REL_PATH . '/languages' );
}
add_action( 'plugins_loaded', 'ottar_twitter_feed_text_domain' );
}