In order to keep your key secret you will have to send a request via AJAX that say “gimme the mp3” to the server, let the server communicate with the service provider and return the result in the response to the AJAX request. This way at no point in time you expose any secret on the general web.
Related Posts:
- is_plugin_active function doesn’t exist
- How can I find plugins’ slug?
- My custom made plugin has “a new version available” which links to unrelated plugin
- wp.media update options and force render on uploader
- Where can I find a schema of wordpress plugin core architecture?
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- WordPress Plugin Development from Scratch. How? [closed]
- “Donate to this plugin” for WordPress.org Plugin Authors
- How to handel multiple checkbox field in the admin settings page with Settings API
- How to show custom message once on plugin activation?
- How do I configure WordPress to talk to a Microsoft SQL Server database?
- How to fetch serialized data from wordpress options
- Passing URL parameters to WordPress pages and pretty url
- WordPress network: set themes and plugins for new blog
- How to get the custom page get_permalink?
- Plugin translations problem
- Advanced Custom Fields into functions.php
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- What is the function to get plugin base url in multisite?
- PDF download – use wordpress functions
- Admin-ajax.php is dying “0” without processing function
- How do I register a stylesheet inside a WordPress widget?
- WordPress register_activation_hook table creation not working
- API to filter new user registration $POST data?
- How to remove an Ajax action
- nonces in custom oop plugin
- Set cookie then immediantly refresh the page
- Has anyone used require.js for handling plugin scripts?
- Multiple files in a plugin
- Wp die causing 500 Internal Server Error?
- adding a new value to a serialized array in WP_option table
- Redirect to a welcome page after updating plugin
- Write to / remove from default .htaccess file from plugin?
- What is the best way to mimic a search query within a plugin
- Remove rewrite rules generated by plugin during deactivation
- Call to a member function have_posts() on a non-object on normal loop
- Not able to add option in Sub-Menu under page
- link bbpress forum discussion to blogposts
- jQuery for custom plugin not working with Divi theme
- How to inform the user that the save was not successful?
- php page not found for plugin options menu
- Creating shortcodes in plugin
- Re use the list table for a custom post type on another page
- Can we have an ‘Update metadata’ button in Image Gallery for all image instances?
- Create a plugin from within WordPress
- Class variables not correct on page
- Render content of multiple pages and their descendants
- Why am I unable to load scripts in head in plugin?
- remove all submenus from plugin
- Hook for page Request?
- composer not working on my plugin when i upload it to my website
- What is the WordPress approach to custom data?
- WordPress Fatal Errors [closed]
- YOAST Seo xmlsitemap menu item not showing in the dashboard [closed]
- Possible?? Pull Plugin Property Data to a Theme’s Custom Post Type
- Using meta_query in a WP_Query not working for numbers properly
- How to render a template file using shortcode inside a plugin
- How to rewrite URL and get the values?
- Delete data from custom table when deleting a post
- Disable plugin visibility at the plugin directory
- Plugin is creating posts twice
- How to deactivate my plugin upon deactivation of NextGen
- How do I reliably find a URL to a script or other file?
- How to add captcha to publish widget
- How to add logo to a WordPress Custom Plugin?
- Widgets are not displaying in the admin panel
- How to overwrite the category template in a plugin
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- Fixed: Console.log twice in the edit function
- Using OR Condition with facetwp facets
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- show wc_add notices on particular page in woo commerce custom plugin development
- Error on plugin activation and creating new page
- Child theme modifications not showing up
- How to write different events from different functions in my file to a log file in WordPress
- Create a form and have custom menu display based on user answers?
- How to make a plugin api route have permission?
- Function settings_fields() not recognized (Uncaught Error: Call to undefined function settings_fields())
- Why my multisite is this slow? (stats inside)
- what’s different between wpdb->prefix and table_prefix
- Modify Plugin PHP Class in Child Theme – Correct Method
- How to use custom footer template in a site-plugin?
- Problem with conditional woocommerce custom checkout field
- mailjet plugin – extend functionnalities and reuse api
- trying to create simple plugin to filter categories from all authors
- Change wp_mail SMTP settings for each E-Mail
- Proper Failure of Plugin Activation
- WordPress Thumbnail add action if no thumbnail
- How can I add the custom taxonomy categories to the posts and pages?
- Creating fields in the database
- Pass strings to plugin function [closed]
- Ajax in Plugins: returns the whole page
- How to create a page template using custom plugin
- WordPress 3,5 and Jquery version
- how to search through plugin in wordpress cimy-user-extra-fields?
- contact form 7 captcha support anyother captcha plugin? [closed]
- WP Elementor Pro causing crtical failure on website
- Function not being called on form submit, only blank admin-post.php page
- How to give specific class name to category in wordpress with code snippets
- Display Any Field fromAdmin Panel in Frontend via Shortcode?