It took me a while but I figured it out, I just placed this in mu functions.php file:
function remove_se_filters($query) {
if($query->is_feed && $query->is_category){
global $wp_filter;
foreach($wp_filter['pre_get_posts'][999] as $key=>$filter){
if(strpos($key, 'se_filters') !== false){
unset($wp_filter['pre_get_posts'][999][$key]);
}
}
}
return $query;
}
add_filter('pre_get_posts','remove_se_filters');
I found that I couldn’t use the remove filter function because I did not have access to the original class variable that was used to set the filter in the first place so going into the filer’s global variable and unsetting the array manually was the next best option.
Related Posts:
- Passing a parameter to filter and action functions
- Get a list of all registered actions
- WP Rest API: details of latest post including featured media url in one request?
- How do I exclude plugins from getting automatically updated?
- How To Determine If A Filter Is Called In A Sidebar/Widget Context?
- How to disable Gutenberg editor?
- WordPress apply_filters() Arguments Missing
- plugin_action_links Filter Hook Deprecated?
- PHP Deprecated: Non-static method should not be called statically
- Filter Hook on plugin update
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Removing user contact methods works from functions.php but not from a plugin
- Use external link in the add sub menu
- Is there any multiple filter/criteria plugin for wordpress? [closed]
- How to prepend to the_title for admin-side plugin’s use
- How can I filter blog name?
- why does the add_action(‘the_content’) overwrite my page
- How to filter content post only on save
- Filter or action hook to insert content on admin pages before tag
- plugin_action_links_{$plugin_file} hook not in the main plugin file
- Creating search filter through plugin
- Woocommerce Shipping module available only for type of products [closed]
- Add Fields with Sub-Fields to WP Job Manager
- Are there plugins that interfere with the admin part of Rss widget?
- merging an array to an existing array using add_filter
- add_filter the_content in functions.php not working
- locate_template with multiple categories?
- Gutenberg Blocks – Change EDIT part of the block using editor.BlockEdit filters. How to change the markup?
- WP Job Manager Category Drop-down; Change Placeholder Text Via Filter
- Simple plugin for showing RSS subscription links?
- Randomize attachment IDs
- Pass info from functions.php to plugin
- WordPress Social Login > Post to a users Facebook wall
- add_query_arg not working
- Change permalink structure hidden button edit
- White page by using filter template_include
- Create a navbar filter that filters by a custom field
- Filtering WooCommerce Orders by Category
- How to remove plugin metaboxes from edit.php
- Plugin developer automated documentation
- Output content to the_content before a plugin does
- Is there a hook to Intercept al urls from a webpage and redirect to a page
- Filtering get_permalink in Jetpack / ShareDaddy
- Proper way to replace the_content only for pages created by custom plugin
- Is there a way to figure out which action/filter invoked a function?
- Add sub menu page in your plugin
- What exactly happens to function argument availability when using a filter?
- Check filter defined or not?
- How do I get a post author’s image/avatar via RSS from another blog?
- How can I apply a WP filter on specific plugin version
- Editing wp-config.php
- Change text string in a plugin
- How to use filter to disable adding a product to wishlist?
- correctness of URL
- WordPress: Add custom add_filter for custom functions
- Advanced Custom Fields (acf) – Filter Relationship by Taxonomies not Post Type
- Best way to duplicate specific page content across two sites?
- How do I change where a plugin pulls updates from?
- How to have free shipping for WooCommerce Membership members
- How to use apply_filters?
- what is the point of telling add_filter how many parameters you want passed to the function?
- Featured Image in RSS Feed
- Filters on the_content with plugins, pages and shortcode
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Filtered content appears in the excerpt
- Replace image urls(absolute instead of relative) by using filter in single page
- How can I add rel=”nofollow” attributes on RSS widgets?
- Want to create custom design of progress indicator in wpforms
- Use a hook or filter, or overwrite this Gamipress function?
- RSS feeds for specific topics
- Randomize post (and page) IDs on generation
- Making a list that can be filtered by category/tags
- how can I edit the HTML of yith ajax product filter
- How to Unhook actions/filters in within Class in plugin
- Nested Actions and Filters
- Use action, filter, or hook to append HTML to WordPress plugin function
- Customize plugin’s output: filters or setters: looking for an advice
- RSS icons have the same Alt tag. Lighthouse is failing these elements. How do I display different alt tags for each icon?
- ACF Taxonomy search on backend (Relationship field)
- What action or filter can I use to change all the html returned from server for a page?
- Can I add content before post content without using the_content filter
- “Share” Content from Another Site as Post
- Add Filter to get_next_posts_link
- Jetpack Comments Change Placeholder Text
- shortcode which is introduced into entry the blog, and appears in side bar
- apply_filters to content but ignore shortcodes
- Use of apply_filter in plugin/widget class
- getpost content with all formatting for admin pages
- making a glossary with wordpress
- What is the RSS feed link for the newest WordPress plugins?
- How to add different CSS for galleries
- Add a filter to a different custom plugin
- How to add a filter conditionally based on page related Conditional Tags
- WP Members additional fields on user profile [closed]
- Which action/filter can i use for a Member Plugin [closed]
- How to add product thumbnail on orders list on backend?
- Custom priority with the_content filter based on user input
- filter just a portion of plugin function
- Deactivated a plugin with a filter, but it still enqueues JS files
- What are Seeds? [closed]