public function render() { ?> <div class="hello-kushimoto-dashboard-widget"> <div class="hello-kushimoto-dashboard-widget-avatar"> <?php echo $this->speaker->get_avatar(); ?> </div> <div class="hello-kushimoto-dashboard-widget-message"> <strong><?php echo esc_html($this->speaker->speak()); ?> </strong> </div> </div> <?php }
/** * Apply original filter say method. * * @return String */ public function say() { return (string) apply_filters('miyasan_say', parent::say()); }