'warrior_latest_video', 'description' => __('Warrior Latest Video Widget', 'warrior') ); $control_ops = array( 'id_base' => 'warrior_latest_video', 'width' => '300' ); $this->WP_Widget( 'warrior_latest_video', __('Warrior Latest Video', 'warrior'), $widget_ops, $control_ops ); } function widget( $args, $instance ) { global $shortname; extract( $args ); $warrior_latest_video_title = apply_filters('widget_title', $instance['warrior_latest_video_title'] ); $warrior_latest_video_code = $instance['warrior_latest_video_code']; $warrior_latest_video_desc = $instance['warrior_latest_video_desc']; echo $before_widget; if($warrior_latest_video_title) echo $before_title . $warrior_latest_video_title . $after_title; ?>
__('Latest Video', 'warrior'), 'warrior_latest_video_code' => '', 'warrior_latest_video_desc' => '') ); ?>