PluginPrePublishPanel Edit

This slot allows for injecting items into the bottom of the pre-publish panel that appears to confirm publishing after the user clicks “Publish’.

Example Example

const { registerPlugin } = wp.plugins;
const { PluginPrePublishPanel }= wp.editPost;

const PluginPrePublishPanelTest = () => {
    return (
        <PluginPrePublishPanel>
            <p> Pre Publish Panel </p>
        </PluginPrePublishPanel>
    )
}

registerPlugin( 'pre-publish-panel-test', { render: PluginPrePublishPanelTest } );

Top ↑

Location Location

Prepublish panel