Home › Forums › Bug Reports › ACF Widgets not called/displayed on front-end in WordPress 5.9.3 › Reply To: ACF Widgets not called/displayed on front-end in WordPress 5.9.3
Hey guys,
I had the same problem; all my custom widgets were missing from the front-end after updating WP (with gutenberg disabled) but they were still showing up fine in the dashboard
After some trial and error I managed to get them working — In the widget class, the update function needed to return an array, and then I needed to re-add the widgets and save them again in the dashboard.
public function form( $instance ) {
}
public function update( $new_instance, $old_instance ) {
$instance = array();
return $instance;
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.