Ok, nevermind, I found solution
I’ve tried removeFilter( 'editor.BlockEdit', 'ghostkit/sr/additional-attributes' ); but it was not working inside my plugin, but it worked in console, so then I found out, that I need to hook this to something, so this is working solution
addAction( 'plugins.pluginRegistered', 'kubiq/remove-ghostkit-animations', function( settings, name ){
if( name == 'ghostkit' ){
removeFilter( 'editor.BlockEdit', 'ghostkit/sr/additional-attributes' );
}
});
Related Posts:
- How would one modify the filtering Gutenberg applies to pasted content?
- Gutenberg: Is there a way to know if current block is inside InnerBlocks?
- How to add a custom CSS class to core blocks in Gutenberg editor?
- How can I extend the Gutenberg table block transform to allow colspans/rowspans on pasted table elements?
- Changing text within the Block Editor
- Remove left alignment option in core/image block
- Changing Gutenberg / WP block editor width only on pages, not posts or other taxonomies
- Filter Gutenberg Blocks Content
- How do I replace a render_callback function for a block?
- How can I filter block registration based on post-type? (Block alignment settings)
- Gutenberg disable the “block” tab in right sidebar
- How to change the order of HTML output of a core block?
- Gutenberg – Add align controls to a custom block
- Can the wordpress color palettes by changed through Javascript?
- Inline Styles on all native blocks
- How to link the whole list item in Gutenberg’s latest posts block?
- add_filter(allowed_block_types) -> adding core/paragraph bugs Gutenberg editor
- Set default terms for new posts / CPTs
- Detect when gutenberg editor title is available in Dom after editor load
- Gutenberg Block – Post Featured Image Filter Hook
- Set default value for “Additional CSS class(es)” for specific block types
- Filter for author list in gutenberg core editor
- How to optionally append components to the output of a gutenberg block?
- Problem width wp_insert_post_data and Gutenberg block editor
- WordPress Gutenberg core/heading block (wp-block-heading)
- Changing the category for existing Gutenberg blocks
- How do I check if I can use the allowed_block_types filter?
- How to add lazy field in content endpoint using Gutenberg blocks
- How to add custom HTML attribute to reusable block div in WordPress admin
- How to change this WP logo and posts url in block editor?
- Are blocks that are converted to patterns no longer filterable through the_content?
- “Invalid parameter(s): attributes” issue in context of “blocks.registerBlockType” filter
- How to show page content in feed?
- remove_filter( ‘the_content’, ‘wpautop’ ); only for certain post types
- Valid characters for actions, hooks and filters
- AJAX filter posts on click based on category
- Can I add custom meta for each image uploaded via media-upload.php?
- Some questions regarding filter
- Problem getting single_template filter to work – I want to serve a different single.php file for posts in a certain category
- Too many actions/filters!
- Adding Filter Conditionally Per Page ID
- How to change domain used when pinging sites
- Extend core block attributes in post content
- return values from hooks do_action and apply_filters, which is better
- Return a custom value in a function added to an action hook
- Using Conditional Statement in functions.php
- get_title without filter(the_title)
- Multiple filters for wp_get_archive
- Function the_content not working
- Break out of wordpress filter
- Add filter problems
- Where is the content cache when using apply_filters(‘the_content…?
- How to validate recaptcha on comments form?
- Does a plugin with a AJAX button filter exist? [closed]
- Is there any filter to trigger as soon as media is uploaded to post or page?
- Sorting a specific taxonomy by archive date using URL
- Give “Read More” precedence over excerpt() word count
- Adding a filter to comments_template
- How to customize category_description()?
- Add Bootstrap Classes to Recent Posts Widget
- Add filter to get_posts
- Is it possible to override the default Gallery Settings form?
- Filtering a list of objects with ‘OR’ on the same field
- Excerpt is being added above the content, but it should be after it
- WordPress add script with custom type (x-jquery-tmpl)
- How to filter bbPress replies (content)?
- Change login CSS
- How to redirect non-logged in users to login with post_password_required()
- How to add nonce tag to inline script for CSP
- Filter content for get_the_content()
- include specific Pages to wp_list_pages with filter
- How can I filter tag_description()?
- Need to return shortcode text instead of the output
- Change tags url to search different site
- Dashboard filter based on custom fields URL response code
- Custom SQL query slows down when using multiple OR … LIKE … in posts_where filter
- I want to add string array to this function to filter displayed option in drpodown [closed]
- Function not returning correct value for found_posts filter
- Unable to defer loading of jquery
- Remove style tags from head
- How to wrap pattern-matches from the_content in [wiki]-shortcode tags
- how to develop a filter in wordpress to let the user filter the page content depends on the date (newest to oldest etc…)?
- Print only parent categories of post in custom RSS feed
- Login logout below menu bar
- Use add_filter inside another function
- Add HTML to the bottom of each post in a post list
- Admin view: filter posts by whether they have specific taxonomy attached
- Filter posts by categories ajax is showing all the posts
- URL to filter posts by post meta similar to shop/?product_cat=”painting”
- Incrementing content with extra text after save/publish
- How to use a TinyMCE filter?
- Unable to get WordPress’s apply_filters(‘site_url’) to return a https scheme
- Admin filter/error if post title is too long
- How we make the filter for fornt end user
- After adding filter to plugin’s code, post’s content doesn’t display
- if i put the code in my theme’s function.php file can it work?
- Admin New Order: Autofocus on Search a product
- How to filter part of a variable if it is no array?
- Deregister Custom the_title Filter for edit_post_link
- How to apply_filter / add_filter within 2 others (simultaneous?) add_filter