REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 3.27 KB
Close
//proc/self/root/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/wpforms-lite/includes/integrations.php
Text
Base64
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Register and setup WPForms as a Visual Composer element. * * @since 1.3.0 * * @noinspection PhpUndefinedFunctionInspection */ function wpforms_visual_composer_shortcode() { if ( ! is_user_logged_in() ) { return; } $form_obj = wpforms()->obj( 'form' ); if ( ! $form_obj ) { return; } $wpf = $form_obj->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' => [ // phpcs:ignore WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned 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' => [ // phpcs:ignore WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned 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() { $min = wpforms_get_min_suffix(); // 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{$min}.css", [], WPFORMS_VERSION ); } if ( wpforms_setting( 'disable-css', '1' ) === '2' ) { wp_enqueue_style( 'wpforms-base', WPFORMS_PLUGIN_URL . "assets/css/frontend/classic/wpforms-base{$min}.css", [], WPFORMS_VERSION ); } } add_action( 'vc_load_iframe_jscss', 'wpforms_visual_composer_shortcode_css' );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
admin
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
emails
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fields
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
providers
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
templates
DIR
-
drwxr-xr-x
2026-06-04 03:43:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-db.php
23.42 KB
lrw-r--r--
2025-02-27 17:40:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-fields.php
1.58 KB
lrw-r--r--
2025-02-27 17:40:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form.php
42.10 KB
lrw-r--r--
2026-05-28 15:16:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-install.php
5.56 KB
lrw-r--r--
2024-12-03 18:12:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-process.php
67.38 KB
lrw-r--r--
2026-01-29 20:00:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-providers.php
1.84 KB
lrw-r--r--
2025-01-16 17:57:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-templates.php
1.26 KB
lrw-r--r--
2023-09-28 15:44:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-widget.php
6.00 KB
lrw-r--r--
2024-10-23 18:03:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
deprecated.php
13.87 KB
lrw-r--r--
2025-09-25 15:01:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions-list.php
152 B
lrw-r--r--
2023-02-16 18:36:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions.php
1.08 KB
lrw-r--r--
2025-06-17 13:49:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
integrations.php
3.27 KB
lrw-r--r--
2026-01-29 20:00:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).