'cta-section', 'description' => esc_html__( 'Use this widget to show the call to action section.', 'foodhunt' ) ); $control_ops = array( 'width' => 200, 'height' =>250 ); parent::__construct( false, $name = esc_html__( 'TG: Call To Action', 'foodhunt' ), $widget_ops, $control_ops); } function form( $instance ) { $defaults[ 'text_main' ] = ''; $defaults[ 'button_text' ] = ''; $defaults[ 'button_url' ] = ''; $defaults[ 'background_image' ] = ''; $defaults[ 'background_color' ] = '#d40305'; $defaults[ 'button_icon' ] = ''; $instance = wp_parse_args( (array) $instance, $defaults ); $text_main = esc_textarea( $instance[ 'text_main' ] ); $button_text = esc_attr( $instance[ 'button_text' ] ); $button_url = esc_url( $instance[ 'button_url' ] ); $background_image = esc_url_raw( $instance[ 'background_image' ] ); $background_color = esc_attr( $instance[ 'background_color' ] ); $button_icon = esc_attr( $instance['button_icon'] ); ?>





Refer here', 'foodhunt' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $url ) ); echo $link; ?>

>