Skip to content

Instantly share code, notes, and snippets.

@spivurno
Last active September 19, 2022 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spivurno/483ca0ace1be61df682552f5034ccdd1 to your computer and use it in GitHub Desktop.
Save spivurno/483ca0ace1be61df682552f5034ccdd1 to your computer and use it in GitHub Desktop.
Gravity Perks // GP Better User Activation // Enable Editor on Activation Page
<?php
/**
* Gravity Perks // GP Better User Activation // Enable Editor on Activation Page
* http://gravitywiz.com/documentionat/gravity-forms-better-user-activation/
*/
add_action( 'init', function() {
if ( is_callable( 'gp_better_user_activation' ) ) {
remove_action( 'admin_head', array( gp_better_user_activation(), 'remove_default_content_editor' ) );
}
} );
@spivurno
Copy link
Author

spivurno commented Feb 4, 2022

Agreed, @madrid1979! I implemented a change based on your feedback. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment