0

Show: function WP_Widget::widget() must be over-ridden in a sub-class. in website.

How to fix it?

1 Answer 1

2

The class that extends WP_Widget must have a widget method. That is:

class Dummy_Widget extends WP_Widget {

  /* This method is required */
  function widget($args, $instance) {

  }

}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.