public __construct ( string $id_base = 'pods_widget_single', string $name = 'Pods - Single Item', array $widget_options = [], array $control_options = [] ) |
$id_base |
string |
Optional Base ID for the widget, lowercase and unique. If left empty,
a portion of the widget's class name will be used Has to be unique. |
$name |
string |
Name for the widget displayed on the configuration page. |
$widget_options |
array |
Optional. Widget options. See {@see \wp_register_sidebar_widget()} for
information on accepted arguments. Default empty array. |
$control_options |
array |
Optional. Widget control options. See {@see \wp_register_widget_control()}
for information on accepted arguments. Default empty array. |