WordPress开发者和主题制作者的搜索引擎



widget_form_callback ›

Since2.8.0
已弃用n/a
apply_filters( 'widget_form_callback', $instance, $this )
参数: (2)
  • (array) $instance The current widget instance's settings.
    Required: Yes
  • (WP_Widget) $this The current widget instance.
    Required: Yes
定义在:
文档:

Filters the widget instance's settings before displaying the control form.

Returning false effectively short-circuits display of the control form.





源码

$instance = apply_filters( 'widget_form_callback', $instance, $this );