HEX
Server: Apache
System: Linux mare-tim-wwwmocrea 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
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' );
}