We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c0af7 commit 15d0788Copy full SHA for 15d0788
src/components/dynamic-content-control/index.js
@@ -499,6 +499,10 @@ export const useValueWithFieldsTitle = ( value = '' ) => {
499
const dynamicContent = <SVGDatabaseIcon />
500
501
export const DynamicContentButton = memo( props => {
502
+ // Hide the button if inside the Customizer
503
+ if ( select( 'core/customize-widgets' ) ) {
504
+ return null
505
+ }
506
if ( ! isPro && ! showProNotice ) {
507
return null
508
}
0 commit comments