Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
How can I remove the "Advanced" panel of all blocks in WordPress block editor?

I want to optimize the WordPress block editor for my clients and hide everything that might confuse my clients. I've already removed several panels (colors, typography, etc.) via the theme.json (by deactivating all the available options within that panels), but I can't figure out how to remove the "Advanced" panel that has "HTML anchor" and "Additional CSS class(es)". How can I remove this panel? It would be great if there is a clean way to do this. Any ideas?

It can also be a Javascript or PHP solution if needed.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This can also likely be done in javascript, possibly using the addfilter hook.

You can use the poorly documented block_type_metadata hook although the strategy below will not work on blocks that are not registered with metadata from a block.json.

add_filter( 'block_type_metadata', 'remove_the_class_anchor' );
function remove_the_class_anchor($metadata ) {
    $metadata['supports']['customClassName'] = false;
    $metadata['supports']['anchor'] = false;
    return $metadata;
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!