Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > wpforms-lite > > includes >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
admin | Directory | - | - | |
emails | Directory | - | - | |
fields | Directory | - | - | |
functions | Directory | - | - | |
providers | Directory | - | - | |
templates | Directory | - | - | |
class-db.php | File | 23978 bytes | February 27 2025 17:40:00. | |
class-fields.php | File | 1617 bytes | February 27 2025 17:40:00. | |
class-form.php | File | 40638 bytes | July 31 2025 14:13:36. | |
class-install.php | File | 5692 bytes | December 03 2024 18:12:18. | |
class-process.php | File | 64211 bytes | July 31 2025 14:13:36. | |
class-providers.php | File | 1889 bytes | January 16 2025 17:57:18. | |
class-templates.php | File | 1294 bytes | September 28 2023 15:44:58. | |
class-widget.php | File | 6148 bytes | October 23 2024 18:03:24. | |
deprecated.php | File | 13932 bytes | April 24 2025 14:53:30. | |
functions-list.php | File | 152 bytes | February 16 2023 18:36:38. | |
functions.php | File | 1105 bytes | June 17 2025 13:49:02. | |
integrations.php | File | 3009 bytes | April 24 2025 14:53:30. |
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Register and setup WPForms as a Visual Composer element. * * @since 1.3.0 */ function wpforms_visual_composer_shortcode() { if ( ! is_user_logged_in() ) { return; } $wpf = wpforms()->obj( 'form' )->get( '', [ 'orderby' => 'title', ] ); if ( ! empty( $wpf ) ) { $forms = [ esc_html__( 'Select a form to display', 'wpforms-lite' ) => '', ]; foreach ( $wpf as $form ) { $forms[ $form->post_title ] = $form->ID; } } else { $forms = [ esc_html__( 'No forms found', 'wpforms-lite' ) => '', ]; } vc_map( [ 'name' => esc_html__( 'WPForms', 'wpforms-lite' ), 'base' => 'wpforms', 'icon' => WPFORMS_PLUGIN_URL . 'assets/images/sullie-vc.png', 'category' => esc_html__( 'Content', 'wpforms-lite' ), 'description' => esc_html__( 'Add your form', 'wpforms-lite' ), 'params' => [ [ 'type' => 'dropdown', 'heading' => esc_html__( 'Form', 'wpforms-lite' ), 'param_name' => 'id', 'value' => $forms, 'save_always' => true, 'description' => esc_html__( 'Select a form to add it to your post or page.', 'wpforms-lite' ), 'admin_label' => true, ], [ 'type' => 'dropdown', 'heading' => esc_html__( 'Display Form Name', 'wpforms-lite' ), 'param_name' => 'title', 'value' => [ esc_html__( 'No', 'wpforms-lite' ) => 'false', esc_html__( 'Yes', 'wpforms-lite' ) => 'true', ], 'save_always' => true, 'description' => esc_html__( 'Would you like to display the forms name?', 'wpforms-lite' ), 'dependency' => [ 'element' => 'id', 'not_empty' => true, ], ], [ 'type' => 'dropdown', 'heading' => esc_html__( 'Display Form Description', 'wpforms-lite' ), 'param_name' => 'description', 'value' => [ esc_html__( 'No', 'wpforms-lite' ) => 'false', esc_html__( 'Yes', 'wpforms-lite' ) => 'true', ], 'save_always' => true, 'description' => esc_html__( 'Would you like to display the form description?', 'wpforms-lite' ), 'dependency' => [ 'element' => 'id', 'not_empty' => true, ], ], ], ] ); } add_action( 'vc_before_init', 'wpforms_visual_composer_shortcode' ); /** * Load our basic CSS when in Visual Composer's frontend editor. * * @since 1.3.0 */ function wpforms_visual_composer_shortcode_css() { // Load CSS per global setting. if ( wpforms_setting( 'disable-css', '1' ) === '1' ) { wp_enqueue_style( 'wpforms-full', WPFORMS_PLUGIN_URL . 'assets/css/frontend/classic/wpforms-full.css', [], WPFORMS_VERSION ); } if ( wpforms_setting( 'disable-css', '1' ) === '2' ) { wp_enqueue_style( 'wpforms-base', WPFORMS_PLUGIN_URL . 'assets/css/frontend/classic/wpforms-base.css', [], WPFORMS_VERSION ); } } add_action( 'vc_load_iframe_jscss', 'wpforms_visual_composer_shortcode_css' );
SILENT KILLER Tool