Support

Account

Home Forums General Issues ACF and Widgets Reply To: ACF and Widgets

  • You are right and also not right.

    This is correct:
    “There is no save button.”

    This is not true:
    There has to be some field to be saved. Otherwise you cant save…

    Solution:
    Your widget class must implement not only __construct (and widget(...) for display), but also the minimum version of method form($instance) that returns the provided $instance:

    public function form($instance){ return $instance; }