Turning the plugin code into a must-use plugin seems to work.
But not exactly what I am looking for tbh.
Related Posts:
- Filter any HTTP request URI?
- Allow Profile HTML for select users
- Changing Gutenberg / WP block editor width only on pages, not posts or other taxonomies
- Is there a way to globallly apply esc_html( … ) to all inputs and anchors to filter out XSS markup?
- Security question – Display a General Custom Login Error Message
- Filter and validate user role in registration
- Insert HTML just after tag
- the_content and is_main_query
- How to pass/get data to/from the WooCommerce data-product_variations object?
- Filter username field on registration for profanity and unwanted words
- Add whitespace between Chinese and other letters
- Translating an error message
- Keep Users Logged In As Long As I Like
- Display WooCommerce newest product reviews on top [closed]
- Overriding wp_get_archives() apply_filters()
- How to make post and comment count unclickable with dashboard_glance_items hook
- Call to undefined function error after adding add_filter to wp-config
- How can I hide all posts that don’t have a thumbnail?
- Add Dropdown menu using “add_filter => wp_nav_menu_items”
- Filtering ‘the_title’ with option to return subhead?
- How to add a custom filter in functions.php
- How apply_filters work in WordPress?
- What functions are included in apply_filter(‘the_content’)
- Filtering admin entries for custom post type
- What hook/filter can I use to add/edit/show/hide the title under (on hover) links on the table view?
- Anonymous function is executed twice in wp_head while added from the_posts filter?
- add_filter return value
- Are there Limitations on filter handles?
- Hide content editor for posts after approriate date
- Why my admin doesn’t work after adding rest_prepare_post filter?
- Buddypress: Edit activity when new blog post [closed]
- How to make a button?
- How do I filter title and alt attributes in the gallery shortcode?
- Same Conditionals Not Working on Two Different Hooks
- Filter get_template_part() $args array
- Modify a Filters Second Parameter
- Filter users by custom colum not meta key
- How do I hide the current page’s title?
- How to allow users to view pending posts of a specific custom post type?
- Remove filter callback: method in class
- Change name of existing post status type
- How to filter meta_values using REST API
- Header image automatically changes depending on season
- How do I use remove_action on an add_action that uses an array?
- Admin Backend – Search Pages only by title
- How to hide Ads in between posts on AMP? [closed]
- What is the downside of using a filter as a “poor man’s” dependency injection?
- Change the default 10-day expiration for the password protected pages cookie
- Add content as soon starts
- Access get_the_title() from ‘excerpt_length’ filter
- Wrong post_status notice after wp_insert_post_data
- BBPress changing default group activity
- Comment search plugin
- Filter the_content to add something before each element?
- How to display the content HTML of a page without displaying the gallery code as well
- Apply filters with multiple filters
- Filter by category and city for doctors and hospitals in wordpress
- Remove Comment Author Link only for subscribers
- Prevent reset password specific user role
- WooCommerce coupon hook argument NULL when using filter woocommerce_get_shop_coupon_data
- Create new custom field that calculates age
- How can I edit comment meta value before it is saved?
- Why current_user_can(‘edit_comment’) always true?
- Remove comments validation (remove filter?)
- Redirect after post deleted
- How to stop filter from running on the index.php page?
- Filter Shortcodes when using get_page
- Usage of filters
- Where exactly does the edit_{taxonomy} hook fire?
- How to filter with dropdown in backend for custom data
- Is there any reason for the nested filters to be applied on the first case and not in the second one?
- Best practice: Custom Post Type / Filter / Load more
- Filter Media by attached page or blog post in Library
- How to stop DOMDocument destroying embeds?
- Redirect an archive page to its relevant URL-friendly filtered page
- Run `wp_insert_post_data` on all posts
- Show uploaded pdf files dynamically and filter by month name
- How can I pass instance via apply_filters as a parameter?
- how to use substr with get_the_content()
- AJAX Post Filter
- WordPress add_filter to post_date
- Add filter return false not working
- create a shortcode with acf including a filter
- How to take shortcode and content separately from a page?
- Display post after choice two taxonomy terms
- How to stop echoing gallery inside content?
- Apply a filter str_replace on specific caracters array in the_content()
- get_the_archive_title hook unwanted changes!
- Put data in my-account/view-order/id/ page
- Can’t set properly WordPress add_filter function
- apply_filters to $GLOBALS
- The title of an attachment is not working
- Removing a line from a WP core function (comment_template.php) – filter or other technique?
- Hide H1 Title using the_title filter
- get_the_excerpt on mobile still displays continue reading
- Filter image and text from post format
- Filter and Search
- Remove pipe in views admin page filter
- Hooking/Filtering theme name to add theme directory
- How to use filter in this situation, can not modify the structure using filter