Created
October 3, 2024 14:55
-
-
Save MaximilianoRicoTabo/afbfa27ea93f300335fcbe396cdffabe to your computer and use it in GitHub Desktop.
Remove stripe webhook setup notice
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 | |
/** | |
* Remove stripe webhook setup notice | |
* | |
* Add this code to your site by following this guide - https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ | |
add_action('admin_init', 'remove_pmpro_gateway_stripe_notice'); | |
function remove_pmpro_gateway_stripe_notice() { | |
remove_action( 'admin_notices', array( 'PMProGateway_stripe', 'show_stripe_webhook_setup_notice' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment