[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
forms
/
actions
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 activecampaign.php
9,485 B
SET
[ EDIT ]
|
[ DEL ]
📄 activity-log.php
972 B
SET
[ EDIT ]
|
[ DEL ]
📄 cf7db.php
713 B
SET
[ EDIT ]
|
[ DEL ]
📄 convertkit.php
7,495 B
SET
[ EDIT ]
|
[ DEL ]
📄 discord.php
5,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 drip.php
9,014 B
SET
[ EDIT ]
|
[ DEL ]
📄 email.php
16,146 B
SET
[ EDIT ]
|
[ DEL ]
📄 email2.php
1,051 B
SET
[ EDIT ]
|
[ DEL ]
📄 getresponse.php
9,004 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailchimp.php
13,226 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailerlite.php
8,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailpoet.php
2,982 B
SET
[ EDIT ]
|
[ DEL ]
📄 mailpoet3.php
3,576 B
SET
[ EDIT ]
|
[ DEL ]
📄 redirect.php
1,833 B
SET
[ EDIT ]
|
[ DEL ]
📄 slack.php
6,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 webhook.php
3,198 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: redirect.php
<?php namespace ElementorPro\Modules\Forms\Actions; use Elementor\Controls_Manager; use Elementor\Modules\DynamicTags\Module as TagsModule; use ElementorPro\Modules\Forms\Classes\Action_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Redirect extends Action_Base { public function get_name() { return 'redirect'; } public function get_label() { return esc_html__( 'Redirect', 'elementor-pro' ); } public function register_settings_section( $widget ) { $widget->start_controls_section( 'section_redirect', [ 'label' => esc_html__( 'Redirect', 'elementor-pro' ), 'condition' => [ 'submit_actions' => $this->get_name(), ], ] ); $widget->add_control( 'redirect_to', [ 'label' => esc_html__( 'Redirect To', 'elementor-pro' ), 'type' => Controls_Manager::TEXT, 'placeholder' => esc_html__( 'https://your-link.com', 'elementor-pro' ), 'ai' => [ 'active' => false, ], 'dynamic' => [ 'active' => true, 'categories' => [ TagsModule::POST_META_CATEGORY, TagsModule::TEXT_CATEGORY, TagsModule::URL_CATEGORY, ], ], 'label_block' => true, 'render_type' => 'none', 'classes' => 'elementor-control-direction-ltr', ] ); $widget->end_controls_section(); } public function on_export( $element ) { unset( $element['settings']['redirect_to'] ); return $element; } public function run( $record, $ajax_handler ) { $redirect_to = $record->get_form_settings( 'redirect_to' ); $redirect_to = $record->replace_setting_shortcodes( $redirect_to, true ); $redirect_to = esc_url_raw( $redirect_to ); if ( ! empty( $redirect_to ) && filter_var( $redirect_to, FILTER_VALIDATE_URL ) ) { $ajax_handler->add_response_data( 'redirect_url', $redirect_to ); } } }