Elementor\Widget_Menu_Anchor::_register_controls PHP Метод

_register_controls() защищенный Метод

protected _register_controls ( )
    protected function _register_controls()
    {
        $this->start_controls_section('section_anchor', ['label' => __('Anchor', 'elementor')]);
        $this->add_control('anchor_description', ['raw' => __('This ID will be the CSS ID you will have to use in your own page, Without #.', 'elementor'), 'type' => Controls_Manager::RAW_HTML, 'classes' => 'elementor-descriptor']);
        $this->add_control('anchor', ['label' => __('The ID of Menu Anchor.', 'elementor'), 'type' => Controls_Manager::TEXT, 'placeholder' => __('For Example: About', 'elementor'), 'label_block' => true]);
        $this->end_controls_section();
    }