Check this question How does wordpress restrict X-FRAME to sameorigin?.
The questioner’s issue was resolved by modifying his site’s .htaccess file by adding the below line to it as his Web Host set the X-Frame-Option.
Header always unset X-Frame-Options
You can check if that works for you.
Related Posts:
- Changing a WordPress core function without hacking core
- wp_headers vs send_headers. When to use each?
- Clarification on filters and hooks
- Headers already sent – WordPress core
- How to modify core when there is no hook?
- How to properly modify WP Vary or any existing headers?
- Filters/Bulk Actions return wrong URL in admin dashboard
- Changing WordPress core without hacking core
- Override has_post_thumbnail function
- How would I use a filter to remove header banner on certain post types
- Modify wp headers on specific page
- Removing a line from a WP core function (comment_template.php) – filter or other technique?
- remove_function method removing next priority action too while removing current priority
- Sanitize and data validation with apply_filters() function
- How many filter/action hooks are healthy?
- Filter specific shortcode output?
- remove_filter( ‘the_content’, ‘wpautop’ ); only for certain post types
- Valid characters for actions, hooks and filters
- How to hook into unregistering a widget instance?
- How can I extend the Gutenberg table block transform to allow colspans/rowspans on pasted table elements?
- How do I use the ‘http_request_host_is_external’ filter
- get_option() filtering and getting out of recursion
- Get excerpt from $post->post_content
- AJAX filter posts on click based on category
- How can I filter Microsoft Word gunk from pasted content?
- How to disable all WordPress emails modularly and programatically?
- Can I add custom meta for each image uploaded via media-upload.php?
- Detecting Embed URLs Within post_content
- add_filter on “the_excerpt” only works when post does not have excerpt
- How can I display image metadata?
- How to prepend text to the_content, but after img/shortcode
- Format content value from DB outside of WordPress filters
- Can’t change the title tag with wp_title filter
- How to filter ‘post_gallery’ after all other filters/plugins etc
- Filter oembeds tags to modify iframe attributes
- Removing labels and tag on WordPress’s default login form
- How to add data- attribute to tag
- How to trigger the core WPLANG to make automatically set a language when the theme is activated? [duplicate]
- Making a class available via actions filters
- How to remove google font in WordPress for only single page?
- How do I filter get_the_excerpt() but keep all of its functionality intact?
- Remove tags from the kses filter
- How to add a class to Tag cloud widget link?
- How to get all the predefined do_action() calls from an active theme
- Is there a get_post(s) filter that can alter/replace the output completely?
- WooCommerce Variable Product Price – Where is “From” text generated from?
- Using ‘posts_where’ on a query with a custom field
- How to add numeric slug for child page in WordPress 5.9?
- add_filter does not work as expected
- Filter taxonomy admin pagination
- ‘the_content’ filter removing html tags from post content
- Custom view counts not updating correctly
- Using wp_handle_upload() to Direct Specific Path by Using $overrides
- Filter to shorten column content on edit-tags.php
- Create Search Form to Filter Through Terms
- Formatting get_post content doesn’t allow JS content to function properly
- Proper after_setup_theme and wp_head cleanup
- add_filter with retrieve_password_message() not working in plugin, but works in functions.php
- How to check if a protected hook is hooked?
- Add a div of content within the_content after a certain block
- Gutenberg Block – Post Featured Image Filter Hook
- Prevent add_filter being applied to wp-admin pages
- Translate custom order status through a filter?
- Using preg_replace() with the_content filter
- term_link filter gives less atributes
- Add mime types with plugin
- Is there a way to globallly apply esc_html( … ) to all inputs and anchors to filter out XSS markup?
- Handle multiple parameters in filter
- Want to use wp_get_current_user() in query filter
- WP 4.5 hide core customizer sections
- Echo string in admin panel footer beside version no
- How to change default text for specific post type
- Add PHP code after title in single post pages?
- Apply wordpress filter checking category
- Custom nav walker: How to acces the $args parameter?
- How to stop the deduction in “wp_term_taxonomy” count, when the post is deleted?
- alternative to the_content filter
- Same URL for portfolio and for a page creates 404 error. Is there any filter that i can use for a child page?
- Filter widget_posts_args not working
- Error while localizing communityEventsData in script-loader.php
- how to unescape wordpress output
- Database & Post Search
- login_url filter creates permanent wp-admin -> wp-login redirection loop
- How can I change the button text of a custom widget?
- Hide a specific post from Archive Feed
- Restrict access to custom post type and filter from every query
- How to use the filter ‘widget_text’ to a particular text widget with id
- Custom xmlrpc request does not pass parameters?
- Hook into ‘when user logs in’ [persistent login]
- Problem with shortcodes in external file
- WordPress URL rewrite problem
- How to turn this customized core function into a filter/action in functions.php?
- Which hook should be used in this case?
- Categorize posts on a page o the basis of category of other post on the same page
- manage_users_custom_columns filter not firing callback functions
- Conditionally including JS based on whether ACF field is set [closed]
- How to use apply_filters(‘get_calendar’) to change get_calendar() output?
- How to add custom HTML attribute to reusable block div in WordPress admin
- Block Gutenberg Editor manually by User Roles with a Filter with code
- How to use add_filter to add the extra data to existing array?