Created
July 17, 2025 10:18
-
-
Save imath/fa8a2263d8cb3b97532a3de34d53bb33 to your computer and use it in GitHub Desktop.
Retraceur filters & constants to use to bring back some default WP behaviours.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom functions. | |
* | |
* You can use a `/mu-plugins/functions.php` file to always run this code into your Retraceur instance. | |
*/ | |
// Bring back WP regular registration workflow. | |
add_filter( 'retraceur_create_account_on_signup', '__return_true' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Edit your wp-config.php file to set additional constants as shown below. | |
*/ | |
/* Add any custom values between this line and the "stop editing" line. */ | |
// Bring back WP regular default roles. | |
define( 'USE_DEFAULT_WP_ROLES', true ); | |
/* That's all, stop editing! Happy publishing. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment