wp.domReady(() => { whenEditorIsReady().then(() => { let block = wp.blocks.createBlock('hostinger-reach/subscription', {}); setTimeout(() => { wp.data.dispatch('core/block-editor').insertBlocks(block); }, 0); }); function whenEditorIsReady() { return new Promise((resolve) => { const unsubscribe = wp.data.subscribe(() => { if (wp.data.select('core/editor').isCleanNewPost() || wp.data.select('core/block-editor').getBlockCount() > 0) { unsubscribe() resolve() } }) }) } }); 404 Not Found

Not Found

The requested URL was not found on this server.


Apache/2.4.58 (Ubuntu) Server at terodoresmdk.com Port 80