Widget_WordPress::_register_controls()
Register WordPress/Pojo widget controls.
Description
Adds different input fields to allow the user to change and customize the widget settings.
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
Source
includes/widgets/wordpress.php
protected function _register_controls() { $this->add_control( 'wp', [ 'label' => __( 'Form', 'elementor' ), 'type' => Controls_Manager::WP_WIDGET, 'widget' => $this->get_name(), 'id_base' => $this->get_widget_instance()->id_base, ] ); }
Uses
- includes/widgets/wordpress.php: Widget_WordPress::get_name()
- includes/widgets/wordpress.php: Widget_WordPress::get_widget_instance()