Change label text in Gutenberg’s built in excerpt panel
That label is a translatable text and its translation is retrieved using wp.i18n.__(), so you can change the text like you could in PHP via the gettext filter, except that in JS/Gutenberg, you’d use i18n.gettext. Working example: // Define our filter callback. function myPluginGettextFilter( translation, text, domain ) { if ( text === ‘Write an … Read more