WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53424, comment 2


Ignore:
Timestamp:
06/16/2021 06:26:42 PM (3 months ago)
Author:
jamesros161
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53424, comment 2

    initial v1  
    22
    33I have also tried using `add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );` according to the instructions here: https://developer.wordpress.org/block-editor/how-to-guides/widgets/opting-out/ but that doesn't work either.
     4
     5I can confirm that this DOES work if the remove_theme_support() is added to an `init` action, rather than `after_setup_theme` action