Enable Block Editor for Activation Page

🧪

Experimental Snippet

This snippet was discovered in the wizard’s chaotic laboratory — an unpolished experiment, conjured to solve a niche challenge. Use at your own risk.

Instructions

See “Where do I put snippets?” in our documentation for installation instructions.

Code

Filename: gpbua-enable-block-editor.php

1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Gravity Perks // Better User Activation // Enable Block Editor for Activation Page
 * https://gravitywiz.com/documentation/gravity-forms-better-user-activation/
 *
 * Experimental Snippet 🧪
 */
add_action( 'init', function() {
	if ( is_callable( 'gp_better_user_activation' ) ) {
		remove_filter( 'use_block_editor_for_post', array( gp_better_user_activation(), 'disable_block_editor_for_activation_page' ), 101 );
	}
}, 16 );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.