/home/altere25/public_html/wp-content/plugins/formidable/classes/widgets
NameSizeModeActions
FrmElementorWidget.php31830644editdlrm
FrmShowForm.php33590644editdlrm
Edit: /home/altere25/public_html/wp-content/plugins/formidable/classes/widgets/FrmShowForm.php (3359B)
__( 'Display a Formidable Form', 'formidable' ) ); parent::__construct( 'frm_show_form', __( 'Formidable Form', 'formidable' ), $widget_ops ); } public function widget( $args, $instance ) { $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); echo FrmAppHelper::kses( $args['before_widget'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '
'; if ( $title ) { echo FrmAppHelper::kses( $args['before_title'] . stripslashes( $title ) . $args['after_title'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } $form_atts = array( 'id' => isset( $instance['form'] ) ? $instance['form'] : 0, 'title' => false, 'description' => isset( $instance['description'] ) ? $instance['description'] : false, ); echo FrmFormsController::get_form_shortcode( $form_atts ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '
'; echo FrmAppHelper::kses( $args['after_widget'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * @param array $new_instance New settings for this instance as input by the user via * WP_Widget::form(). * @param array $old_instance Old settings for this instance. * @return array Settings to save or bool false to cancel saving. */ public function update( $new_instance, $old_instance ) { return $new_instance; } /** * Outputs the settings update form. * * @param array $instance Current settings. * @return string Default return is 'noform'. */ public function form( $instance ) { $defaults = array( 'title' => false, 'form' => false, 'description' => false, ); $instance = wp_parse_args( (array) $instance, $defaults ); ?>



get_field_name( 'form' ), $instance['form'], array( 'blank' => false, 'field_id' => $this->get_field_id( 'form' ), 'class' => 'widefat', ) ); ?>