Disable Permalink Editor In Gutenberg
-
Hi,
I’m looking for a way to conditionally disable the permalink editor in Gutenberg.I’ve been using the
get_sample_permalink_htmlhook with the classic editor for a long time, but I’m migrating to Gutenberg now and that filter no longer works. I’ve read through the GB dev docs, but couldn’t find anything. I started reading the GB source code, but it’s very large and will take too long. I did see that aisPermalinkEditableprop is being passed to thePostLinkcomponent, so I know it’s possible somehow.Could anyone point me in the right direction on this?
Thanks!
The topic ‘Disable Permalink Editor In Gutenberg’ is closed to new replies.