textdomain = pls_get_textdomain(); /* Set up the widget options. */ $widget_options = array( 'classname' => 'pls-floating-map', 'description' => esc_html__( 'A map that follows you as you scroll and will display properties on all ajax search pages.', $this->textdomain ) ); /* Create the widget. */ parent::__construct( "pls-floating-map", esc_attr__( 'Placester floating Search Map', $this->textdomain ), $widget_options ); } /** * Outputs and filters the widget. * * The widget connects to the plugin using the framework plugin api class. * If the class returns false, this means that either the plugin is * missing, either the it has no API key set. * * @since 0.0.1 */ function widget( $args, $instance ) { echo "