When to use removeEditorPanel()

I think this is due to how you’ve destructured it out. I believe dispatch works as a realtime “action”. So you need call dispatch() when you want to remove the panel. Try this: const { dispatch } = wp.data; dispatch( ‘core/edit-post’ ).removeEditorPanel( ‘discussion-panel’ )

How to extend the URLPopover render settings for the paragraph Gutenberg block?

It cannot be done, no API currently exists to add what you want to add. If we look at the component that implements this: https://github.com/WordPress/gutenberg/blob/5b01c97c6943890abb44b2154392ffcccef87b3e/packages/format-library/src/link/inline.js#L197 The InlineLinkUI wraps a component that wraps the URLPopover component, and places a child component inside it which is how the new window checkbox is added. No slots are present … Read more

Post Format Link using Guttenberg

There are a number of problems here, lets go through them one by one 1. Functions that return stuff, and Functions that output stuff get_the_content doesn’t output anything, it returns it. So you need to echo it for the results to be visible: echo get_the_content(); Functions that start with get_ almost always return a value. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)