name = esc_html__( 'Setup', 'wpforms-lite' ); $this->slug = 'setup'; $this->icon = 'fa-cog'; $this->order = 5; $this->addons_obj = wpforms()->get( 'addons' ); } /** * Enqueue assets for the Setup panel. * * @since 1.0.0 * @since 1.6.8 All the builder stylesheets enqueues moved to the `\WPForms_Builder::enqueues()`. */ public function enqueues() { $min = wpforms_get_min_suffix(); wp_enqueue_script( 'wpforms-builder-setup', WPFORMS_PLUGIN_URL . "assets/js/components/admin/builder/setup{$min}.js", [ 'wpforms-builder', 'listjs' ], WPFORMS_VERSION, true ); } /** * Output the Settings panel primary content. * * @since 1.0.0 */ public function panel_content() { ?>

blank form or create your own. Have a suggestion for a new template? We’d love to hear it!', 'wpforms-lite' ), [ 'strong' => [], 'a' => [ 'href' => [], 'class' => [], 'target' => [], 'rel' => [], ], ] ), esc_url( wpforms_utm_link( 'https://wpforms.com/docs/how-to-create-a-custom-form-template/', 'builder-templates', 'Create Your Own Template Documentation' ) ), esc_url( wpforms_utm_link( 'https://wpforms.com/form-template-suggestion/', 'builder-templates', 'Suggest a Template' ) ) ); ?>

output_templates_content(); /** * Fires after WPForms builder setup panel. * * @since 1.0.6 */ do_action( 'wpforms_setup_panel_after' ); // phpcs:ignore WPForms.PHP.ValidateHooks.InvalidHookName } } new WPForms_Builder_Panel_Setup();