• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

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

javascriptphpwordpresswordpress-gutenberggutenberg-blocks


PHP Snippet 1:

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;
}

Related Snippets

passwordless LDAP login and get user information using Kerberos ticket in PHP

Target class controller does not exist - Laravel 8

Access relation of pivot table in Laravel

Backend cannot be reached after Typo3 login screen

How to delete old images from public folder on update using Laravel

Remove categories with all childs derived from parent category

api response laravel doesn't show

How to map the two arrays with a duplicate value?

Apply filter array/return terms

How Can I Do LIMIT 1, 2 In WP_Query

IlluminateDatabaseQueryException could not find driver [duplicate]

I'm trying to use curl with php but getting this error:Could not resolve host: Bearer

Limit login attempts in Laravel 5.7

protect my blog content

how to see if database exists with PDO [duplicate]

About Contact Privacy policy Terms and conditions