| Server IP : 77.37.83.254 / Your IP :
216.73.217.50 [
Web Server : LiteSpeed System : Linux nl-srv-web1124.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : u964240598 ( 964240598) PHP Version : 8.4.19 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u964240598/public_html/wp-content/themes/eduma/inc/widgets/twitter/ |
Upload File : |
<?php
/**
* Thim_Builder Twitter config class
*
* @version 1.0.0
* @author ThimPress
* @package Thim_Builder/Classes
* @category Classes
* @author Thimpress, tuanta
*/
/**
* Prevent loading this file directly
*/
defined( 'ABSPATH' ) || exit;
if ( ! class_exists( 'Thim_Builder_Config_Twitter' ) ) {
/**
* Class Thim_Builder_Config_Twitter
*/
class Thim_Builder_Config_Twitter extends Thim_Builder_Abstract_Config {
/**
* Thim_Builder_Config_Twitter constructor.
*/
public function __construct() {
// info
self::$base = 'twitter';
self::$name = esc_html__( 'Thim: Twitter', 'eduma' );
self::$desc = esc_html__( 'Display twitter feed', 'eduma' );
self::$icon = 'thim-widget-icon thim-widget-icon-twitter';
parent::__construct();
}
/**
* @return array
*/
public function get_options() {
// options
return array(
array(
'type' => 'textfield',
'admin_label' => true,
'heading' => esc_html__( 'Title', 'eduma' ),
'param_name' => 'title',
),
array(
'type' => 'dropdown',
'admin_label' => true,
'heading' => esc_html__( 'Layout', 'eduma' ),
'param_name' => 'layout',
'value' => array(
esc_html__( 'Default', 'eduma' ) => '',
esc_html__( 'Slider', 'eduma' ) => 'slider',
),
'std' => ''
),
array(
'type' => 'textfield',
'admin_label' => true,
'heading' => esc_html__( 'Username', 'eduma' ),
'param_name' => 'username',
),
array(
'type' => 'number',
'admin_label' => true,
'heading' => esc_html__( 'Tweets Display:', 'eduma' ),
'param_name' => 'display',
),
);
}
}
}Anon7 - 2022
AnonSec Team
