I want to know is there any filter to change WP Logo with some text and change it's URL? enter image description here


1 Answer 1


You can change the logo in the block editor or site editor using the SlotFill system.

Have a look at the this example code taken from https://developer.wordpress.org/block-editor/reference-guides/slotfills/main-dashboard-button/

import { registerPlugin } from '@wordpress/plugins';
import { __experimentalMainDashboardButton as MainDashboardButton } from '@wordpress/edit-post';
const MainDashboardButtonTest = () => (
        Custom main dashboard button content
registerPlugin( 'main-dashboard-button-test', {
    render: MainDashboardButtonTest,
} );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.