0

is there a way how can I hide/remove components panel?

There is one panel created by plugin GhostKit and I need to remove it, because it's not working properly and our users try to use it and it cause a lot of problems... it's Animate On Scroll panel

1 Answer 1

1

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' );
    }
});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.