Skip to content

Commit 04940fd

Browse files
authored
gpbua-enable-block-editor.php: Migrated.
1 parent e21b59b commit 04940fd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<?php
22
/**
3-
* Gravity Perks // Better User Activation // Enable Block Editor for Activation Page
4-
* https://gravitywiz.com/documentation/gravity-forms-better-user-activation/
3+
* We're no longer using the experimental folder for experimental snippets. 🚧
4+
* You can now find the snippet here:
5+
* https://github.com/gravitywiz/snippet-library/blob/master/gp-better-user-activation/gpbua-enable-block-editor.php
56
*/
6-
add_action( 'init', function() {
7-
if ( is_callable( 'gp_better_user_activation' ) ) {
8-
remove_filter( 'use_block_editor_for_post', array( gp_better_user_activation(), 'disable_block_editor_for_activation_page' ), 101 );
9-
}
10-
}, 16 );

0 commit comments

Comments
 (0)