start_controls_section( 'give_profile_editor_settings', [ 'label' => __('GiveWP Profile Editor Widget', 'give'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'give_profile_editor_info', [ 'label' => '', 'type' => \Elementor\Controls_Manager::RAW_HTML, 'content_classes' => 'give-info', 'raw' => '

' . __('GIVEWP PROFILE EDITOR WIDGET', 'give') . '

' . __('This is the GiveWP Profile Editor widget. The Profile Editor has no settings at all, just drop it on your page and it\'s ready to go.', 'give') . '

' ] ); $this->end_controls_section(); } /** * Render the [give_profile_editor] output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 4.7.0 migrated from givewp-elementor-widgets * @access protected */ protected function render() { $html = do_shortcode( '[give_profile_editor]' ); echo '
' . $html . '
'; } }