Fixed it by adding Header set Access-Control-Allow-Origin "*"
in apache2.conf
:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
Header set Access-Control-Allow-Origin "*"
</Directory>
Related Posts:
- Custom plugin settings: clicking “save changes” does not display success message
- Plugin getting Cannot modify header information errors
- What is the most efficient way of adding additional functionaliy for admin only
- Echo custom admin field into a is_single()
- Add a checkbox in plugin options page and make it actually work
- Sync User to cPanel webmail?
- How to create an option page for this simple plugin
- Adding CSS to custom post type admin page causes error
- Redirect to another page using contact form 7? [closed]
- Display Custom Field Value on Admin Page Column
- How to remove/hide Yoast’s “SEO” tab in admin panel?
- get_option error plugin development
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Add sub menu page in your plugin
- What’s causing this error? “Warning: Invalid argument”
- Gathering and logging data from a plugin: how to do it without race conditions?
- Update a core option from plugin settings page
- WordPress error: Options page Setting_ not found in the allowed options list
- Move plugin-settings to ‘Settings’-menu in the admin
- Can I use register_settings and unregister_setting once the settings page has loaded?
- update_option_{$option} not showing old value
- WordPress Admin Menu defining function is seperate file
- Updating options into the wp database performance
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Can deactivating a plugin sometimes “reset” settings within that plugin?
- remove all submenus from plugin
- Allowed memory size exhausted problem
- Create WordPress posts from JSON array using plugin in admin
- Change the style of h1, h2, only in post entry
- How to add options to the plugin page?
- Saving widget options from class method
- creating a plug in that would tap into save/update action of posts [closed]
- Simply poll & Events Calendar plugins clashing
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Default plugin config to override wp_options?
- How to see which sites use my installed plugins (wordpress multisite)
- How to use the CSS of the WordPress core in the development of my administration page?
- get_option / wp_localize_script Not Working in OOP Plug In
- OceanWP settings are missing from Add New Post [closed]
- in source code but I can’t find it in files or plugins
- Change in one place the data about the company, which are placed on several pages
- Updating WordPress plugin admin panel footer text
- WordPress permissions error with admin account
- Plugin scheduled event not working
- getting notifications about updates only in the “core” page
- Update WP option by plugin
- How to save plugin custom settings page fields
- Remove value from array within post meta ajax admin
- How to reinstate previously saved option?
- How (or where) do I get wordpress plugin update download link?
- Adding option values as an array using a multi selectable select box
- Store plugin page content in wp_options?
- Add logo to admin menu in my plugin
- Problem after updating plugins
- Every time I save my plugin options it erases another plugin options
- Changing plugin options from theme functions file?
- Adding a theme option to the admin that lets me turn on/off a javascript file
- How to make a textarea accept javascript in my settings apge?
- Equivalent of admin.php for public pages
- Remove specific administrator’s capability
- problem with register_activation_hook in plugin
- Plugin permissions for Editor role
- How do you add a settings page to another menu?
- Error: Can´t access facebook comment plugin admin page
- How to add an admin alert for missing plugins
- Localise settings section headline
- Need to add/remove group of options and display them as rows
- How to hide plugin options for editors via functions.php
- Multisite Plugin – Access options (wp_options) on child sites
- Ajax request sends url rather than data
- Gathering all Custom Post Type posts in to array/object the proper way
- How to get values from network settings panel?
- How to add captcha to publish widget
- Adding a jQuery modal dialog to the admin area
- How to add a custom form to a plugin’s setting page
- update_option creates an option, which empties on a blog reload
- Redirect plugin after form submit or show errors
- How to create a plugin page that shows XML?
- Using call_user_func() within add_settings_section() within a Class
- Color Picker UI in admin is not correct
- How to make sure settings are not lost when plugin is updated?
- wp_options not returning value for logged out users?
- How to save Setting pages data to the database?
- Save log for imports in WordPress database – options-table, custom post type or other place?
- Managing and deleting transients with dynamically generated transient names
- How to create admin setting for this small plugin
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- how to show new field if option selected?
- Admin Custom Plugin List Files in admin Table
- Problem with MEMCACHE and Redis with wp_options
- Hide all Admin Notices and move on a separate page
- Creating an array from form inputs before it is posted to the options database
- Can I create a separate admin section for my plugin?
- Changing the CSS with a plugin
- Load google font script based on optgroup label selected
- How To Remove “All, Publish, Draft and Expired” in Events Dashboard
- save short-code in my custom plugin settings problem missed something
- Plugin Options Page and Subpage
- Optimized PHP & WordPress settings for speed/performance?
- save multi-select input using update_option for plugin