__( 'Free Widget', 'bone' )]; parent::__construct($id, $name, $ops); } public function widget( $args, $instance ) { global $post; if( !empty( $instance['body'] ) ) { echo '
'; } } public function form( $instance ) { // 値宣言 $body_id = $this->get_field_id( 'body' ); $body_name = $this->get_field_name( 'body' ); $old_body = empty( $instance['body'] ) ? '' : $instance['body']; ?>