Skip to content

Commit 855383e

Browse files
Corrects widget instance callback to use widget function. (#1)
1 parent deeb69a commit 855383e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/factories/Widget_Instance.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function get_fields( $values ) {
2727
return $this->set_callable( $this->get_fields_callback, $values, $this );
2828
}
2929

30-
public function display_callback( $args, $widget_args = 1 ) {
30+
public function widget( $args, $widget_args = 1 ) {
3131
return $this->set_callable( $this->display_callback, $args, $widget_args );
3232
}
3333

0 commit comments

Comments
 (0)