The issue here is not about getting the value — $settings['download_file']
(in PHP) would give you that value, if any.
What you’re really looking for, is to make Elementor aware of the file input changes, so that the new value will be saved by Elementor.
And the trick is, trigger the input
event on the file input after the file has been successfully uploaded:
-
In
file-upload.js
, find this:$('input[name=eae-file-link]').val(resp.data.url);
-
And change it to:
$('input[name=eae-file-link]').val(resp.data.url).trigger('input');
Related Posts:
- How to change a user’s password programatically
- Who are the most trusted plugin developers? [closed]
- Get plugin_dir_url() from one level deep within plugin
- How to delete custom taxonomy terms in plugin’s uninstall.php?
- Redirect to settings page after install
- Notify Admins about Plugin Merge
- What is the correct way for a theme to support plugin UIs?
- How does WordPress determine the primary plugin PHP file?
- Adding Featured Image in Post List
- Why does including a file in theme’s functions.php not work?
- translation does not work with text_domain
- OEmbed from Pinterest
- Should I use RIPS tool to test my themes and plugins?
- Add Top-Level Menu that opens URL
- flush_rewrite_rules() not working on plugin activation
- Determine plugin name from within plugin_action_links filter
- Plugin Functionality Only for Editor and Administrator
- Plugin to hide admin menu (vertical menu bar)
- Having separate plugins and themes folder for multi-site setup
- action-scheduler vs wp-background-processing
- Many plugins making WordPress run slow by design?
- Do you clean up your self-written plugins’ at deactivation?
- How do I turn a custom post type into a plugin?
- Global matrix for shortcodes/content for every page
- How to add class in plugin only for network site?
- How to write a plugin to add users to a mail list
- Add keywords meta to index.php page
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Does WP identify plugin by plugin name or plugin_basename?
- AJAX search posts and pages
- Combine scripts from all extensions of the plugin when an extension is activated
- Modifying Author Link to add Author Meta in URL
- Force file download on plugin activation
- Checkbox conflict in my custom plugin admin page
- How to create a custom post type that contains another custom post type?
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Can a Plugin Override New User Default Role Type
- Add action to fire when a published post is updated
- How to let user store a file in plugin directory but not have it get deleted on update?
- Great blogs site resources/tutorial for WordPress Developers? [closed]
- How to make multiple admin pages for one plugin?
- Create custom pages with a plugin
- Is it possible for a plugin to force reading and writing of uploaded images to a database instead of to a filesystem?
- Amazon.com intergration with WordPress?
- Change letters for day name
- (WordPress 5.8.3) Function.php or a plugin for better performance? [duplicate]
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- show my own admin_notices after a post has been published
- Class or function wrapper for plugin code
- How to use add_action for multiple instances of the same class
- Plugin option default value
- How can i listing current category and Featured Category post list?
- Ajax request sends url rather than data
- How to displaying Custom image, text and default image logo from Redux Framework option panel
- Grouping imported products and showing variations based on selected product
- save_post_product action not firing
- How to get the custom field value using SQL query
- specific rows style for in custom list table using WP_List_Table
- How to add the search page link to the anchor tag?
- Need to know if my approach to designing a geneaology plug-in for wordpress makes sense
- How to display the category name in the tab and post inside the tab in WordPress?
- How would I Redirect an existing WooCommerce customer to a specific url after Checkout
- Has blocks gutenberg block multiples registers type in my Plugin
- Ultimate Members Default Post Layout problem
- best way to upload a large file to wordpress using wp all import
- Why do actions with class and public method don’t fire __construct()
- Creating one user access account for all the multiple sites
- How to define the slug for my custom plugin?
- Custom plugin settings page with tab. Error: “Sorry, you are not allowed to access this page.”
- return bbp_get_topic_author_id as integer
- I am Getting Sorry, no posts matched your criteria on form submit only for certain page [duplicate]
- Dynamic input fields in WordPress Plugin
- Custom role not listed
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- How to add a box note in wordpress plugin page ? top header side.
- Widget outputs the value but doesn’t save anything inside the textarea
- WordPress Widget: Is it possible to make the form dynamic without updating?
- Why some plugins are including wp-includes/plugin.php file?
- Change default url to plugin custom post type
- Creating a user ‘add custom field’ section
- Redirect default login page to a custom page [duplicate]
- appointment plugin doesn’t display all appointments
- Display_rows() and column_cb() strange behaviour
- WordPress plugin options need to delete after deactivate & uninstall
- How can I pass value to function in add_menu_page?
- How to show post attachment image
- Doing action based on input from options menu
- Making a Custom Post Type Publish Loop
- How to generate a responsive output from plugin?
- The plugin generated xxx characters of unexpected output during activation
- How to hide a piece of code from a wordpress web page?
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- Someone Comment 1000 times in a Day in My WordPress Site, What Can i Do
- get_option returning a different value from what’s saved
- Plugin: Custom menu item problem
- wp_handle_upload – specified file failed upload test
- how to make wordpress remember my choice
- Meta box not displaying on the plugin page
- wordpress admin-ajax bad request 400
- public custom posts not showing in my wordpress plugin