wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



in_widget_form › Działania WordPress Hooks

Od2.8.0
Przestarzałyn/a
do_action_ref_array( 'in_widget_form', array( &$this, &$return, $instance )
Parametry: (3)
  • (WP_Widget) $widget The widget instance (passed by reference).
    Wymagane: Tak
  • (null) $return Return null if new fields are added.
    Wymagane: Tak
  • (array) $instance An array of the widget's settings.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires at the end of the widget control form.

Use this hook to add extra fields to the widget form. The hook is only fired if the value passed to the 'widget_form_callback' hook is not false.

Note: If the widget has no form, the text echoed from the default form method can be hidden using CSS.





Źródło

do_action_ref_array( 'in_widget_form', array( &$this, &$return, $instance ) );