That is the block title and you can use the blocks.registerBlockType
filter in the block editor to change the block title and other settings as well.
So for example, this would change the title to “My Heading”:
function changeHeadingBlockTitle( settings, name ) {
if ( name !== 'core/heading' ) {
return settings;
}
return lodash.assign( {}, settings, {
title: 'My Heading',
} );
}
wp.hooks.addFilter(
'blocks.registerBlockType',
'my-plugin/foo',
changeHeadingBlockTitle
);
Related Posts:
- How to remove the core embed blocks in WordPress 5.6?
- Placing a custom Control element in an existing block InspectorControls panel
- Icons are missing from Visual Editor
- How do I fix wp-admin error when exporting reusable blocks?
- Toggle between block ‘edit content’ and ‘select’ not properly working in WordPress Admin
- How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
- LinkControl not showing suggestions when used on admin page
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- What methods are you using to transfer individual WP site components from one site to another?
- Featured image bugging out when using svg
- adding the category to the admin column for a custom post type?
- Change page title in admin area
- How to filter by post-format in admin?
- sortable custom column in media library
- how do I force a single column layout in screen layout
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- Sortable admin columns, when data isn’t coming from post_meta
- wp_list_table search box does not show
- How to remove the site health dashboard widget?
- Securing wp-admin folder – Purpose? Importance?
- stop redirection on /wp-admin call to /wp-login
- How to Display Post Excerpts in Admin by Default?
- Wp3.5 Media Gallery Edit modal: change captions to title
- What is the capability that permits access to WP-Admin?
- WordPress in sub directory wp-admin problem
- Admin account only shows Profile and Dashboard with no activity
- Opening specific posts on WP takes lot of time and freezes the editor
- Adding body class to login page?
- Edit a WordPress site without the username and password?
- WordPress admin menu gap when debug mode is enabled?
- Call to undefined function insert_with_markers
- How can I remove the new stats message? [closed]
- How to inhibit dashboard and profile management access to normal users?
- Admin Blank Page with Working Front-End After Updating to WordPress 4.6
- Why can’t I exclude private posts from this query?
- Moved wordpress from localhost to live and wp-admin shows white screen
- Auto create post title in admin
- Cannot Access Admin Area After Migration
- Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php
- Modify wp-admin page header ‘viewport’ meta data
- The uploaded file exceeds!
- Having troubles connecting to WordPress login page using Mamp
- WP Admin/ WP Login Redirect to themselves
- Remove or move admin submenus under a new menu
- Where can I find admin-header.php file online?
- class-wp-hook.php on line 288
- Trying to get custom js files in my admin header
- Efficient way to check local WordPress php files and Database for malicious code? [duplicate]
- How to disable categories/most used in ‘add new post’?
- load-{$page hook} and returned parameter
- Can’t access wp-admin, redirects to http://%24domain/wp-admin/
- Can log as admin but dashboard missing [closed]
- Custom plugin admin page issues
- Customising Word press Admin – Add Post Page functionality to another similar page
- How to add ‘Insert HTML Table’ button to TinyMCE in admin?
- How to allow WordPress updates to only one specific administrator?
- How can I remove commas when adding tags?
- Displaying Title in Title Tag on Edit page?
- Cannot change Connection Information in admin interface
- How can I remove unwanted word on my WP site?
- Add custom fields to a page template, admin side
- Error messages & can’t reach admin after upgrading to 3.4.1 WordPress
- WordPress blog clone.. wp-admin issue
- How to take the help button and link off the dashboard
- Newly created user role not displaying on users screen
- Could not override the url in wp-config file
- issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path
- WordPress Admin extremely slow when other admin logged in
- Can’t acces login on new site
- WordPress Admin Panel Left Sidebar No showing on Post create page
- How to remove the color picker code from users-edit.php
- wp-config.php not affecting my site
- How to prevent spams from admin-ajax.php file?
- After changing Site http to https, can’t access wp login page with a digitalocean hosting
- Strange wp-admin problem for all users/adminstrators except the original one?
- Get rendered HTML of Page in Admin Area
- Having SSL enabled on admin, but disabled on post preview and live preview?
- adding existing menu page on new customer user role
- stop customize.php redirect to login page if admin is not logged in
- Random authentication failures on a load balanced WP setup
- Can I get programmatic access to wp-admin?
- remove_query_arg on options.php
- wp.svgPainter cannot init error, causing issues with admin panel
- mysql_escape_string PROBLEM
- Google flagged a wp-admin redirect as phishing
- Organising and display thousands of photos in media library
- Custom comment action
- Problem with admin columns
- Checkbox not showing as checked on UserProfile (even with checked=”checked”)
- Get URL of current featured image with JS in edit post view
- get_current_screen – ‘Trying to get property of non-object’ error
- Custome column sort by date not title
- Block tools menu in wp-admin?
- is_admin() triggers error
- WordPress Admin: open popup window on a custom button
- No HTML/Visual mode option in admin panel (New Post)
- Removing Author name
- Taking over a WordPress site
- WordPress blog fails to open
- Https Website: CSS and JS files load in http and admin page does not load too