There’s a lot of good resources out there to help you build a plugin, but the one I recommend most is the WordPress Plugin Developer Handbook, especially the section on Ajax. You will still need to figure out the functionality needed for the Plotly data, but that should get you in the right direction.
Related Posts:
- How can I run AJAX on a button click event?
- How-to implement admin Ajax inside an admin WP_List_Table?
- wp_localize_script $handle
- wp.template() returns tags in Ajax response
- About a programming language starts with [closed]
- Filterable posts using categories
- Trigger a JavaScript function based on the data fetched from Woo commerce hook
- Is it possible to reuse wp.media.editor Modal for dialogs other than media
- How to provide translations for a WordPress TinyMCE plugin?
- What is nonce and how to use it with Ajax in WordPress? [duplicate]
- Hook the Keydown Event in the TinyMCE Post Editor
- Build path for a custom portfolio plugin
- Using AJAX in a plugin to submit form – REALLY confused
- get all products of one category
- Get returned variable from a function to add_shortcode function
- creating elements/innerblocks via rangecontrol
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- WP_LOCALIZE_SCRIPT doesn’t work
- Admin-ajax.php appending a status code to ajax response
- Can’t get JS code to work with shortcode
- How do I add a javascript file to all admin pages via a plugin?
- Cannot search post by taxonomy
- Gutenberg – What is the best way to save/update post meta?
- WordPress Ajax callback function from plugin – OOP
- WP AJAX is not working, always returns 0
- Page Reloads Before AJAX Request Finishes
- Frontend Ajax call not working using wp_ajax, wp_enqueue_script and wp_localize_script
- Fetching the value of forms in WordPress AJAX
- WordPress Plugin with a shortcode that dynamically generates javascript. Can I use add_action without wrapping the javascript in a function?
- How can I rewrite a URL to pass requests to a custom method via AJAX? (I can’t use admin-ajax.php)
- “import declarations may only appear at top level of a module” when importing WooCommerce API node module
- How to get Metabox custom field to show checked if value is updated using post meta query?
- Gutenberg: import dependency or assign from global variable?
- How to send Ajax request from my plugin in admin dashboard?
- Create custom HTML/JS app inside page
- AJAX success response is not working but it’s saving my changes
- Use just a shortcode from another page
- add javascript files only when plugin is called?
- How can I avoid conflicts between plugin and theme?
- How to control an elements classes from multiple Gutenberg sidebar controls?
- How should I go about registering JavaScript that isn’t a file? [duplicate]
- Update Data parameter of a wp_localize_script() call
- jquery & ajax sending data to php
- wp_localize_script is not adding a global variable for javascript
- Can’t get AJAX call working in custom plugin
- 400 Bad Request, in wordpress theme development, wp_ajax
- ajax recursive calls on wordpress returning answers outsite the function scope
- Are there any security risks when submitting data-attribute data through AJAX?
- How to get error object returned by wp_create_user
- Translate javascript with WordPress built-in localization API for static strings
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Data not insert and update through ajax and jQuery in admin page?
- WP ajax requests not stacking?
- Insert Into Post Not Working For Audio File Using jQuery
- AJAX button with success callback. (Titan Framework)
- ajax working when function is on child theme but not in plugin page
- AJAX call returns ‘testtest0’ instead of ‘test’ – why?
- add_action wp_ajax_ not loading in plugin file WP Network
- Ajax +wordpress onClick link redirect to new page and create html content
- WordPress (pagenow link) in ajaxurl change after i change plugin language
- wp.media libary pdf type
- How to do admin ajax request in a plugin for rest api
- Jquery php request is returning a weird result
- WordPress Does not grab the string sends useing AJAX response, wp_ajax hook
- Query String Filtering API
- Settings API form – submit with AJAX
- Posts form with AJAX request – Plugin development
- Multiple TinyMCE on button click is initialized and appended but why only last one is writeable?
- Bad request 400 using class based files
- converting a node.js project into a wp plugin
- Is “document loaded” different on admin side than public side?
- why is apiFetch throwing Unhandled Promise Rejection: TypeError: Object is not a function
- Load script on frontend from widget plugin
- ajax-action.php can’t find added action
- Append php file to footer
- AJAX call of function containing javascript which is not loaded (Plugin development)
- Performing ajax request in wordpress
- ajax multiple Values
- How to include files in the loop via ajax
- wp_ajax add_action fuction won’t fire on custom jQuery action
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Ajax Response Error | just getting error as the response
- Uncaught ReferenceError: kpoejy is not defined
- admin-ajax.php returns “No Script Kiddies!” sometimes
- Ajax functionality not being called under wordpress plugin
- Array/List Edit in Backend
- WP Cron as Fast as WordPress AJAX?
- WordPress plugin: admin-ajax.php not passing data to custom function
- Ajax, jQuery and WordPress
- Ajax url value to pass ‘variable’ to use in query
- Ajax functions – no access to wp-admin.php only online
- On one of my sites a file is shown as 404 but the file IS there
- Load css classes after using ajax calls
- How can i add insertion point between inner blocks in my custom block like core blocks
- PHPUnit Ajax Serialization of ‘Closure’ is not allowed
- How to get the value entered in the input field in wordpres
- Return custom product in ajax call loop
- How can create a custom plugin to call my webapi after any registration or membership plugin functionality
- Insert meta-description into Yoast-SEO input-field via JavaScript
- Reinitiate Gutenburg’s blocks using javascript