Created
July 8, 2020 13:09
-
-
Save vfontjr/7040c6bbfa26467bed1cccd08e4fa830 to your computer and use it in GitHub Desktop.
Source code for https://formidable-masterminds.com/disable-formidables-inbox/
This file contains 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 | |
add_filter( 'frm_inbox', '__return_empty_array' ); |
This file contains 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 | |
add_action( 'admin_menu', 'remove_formidable_inbox', 50 ); | |
function remove_formidable_inbox() { | |
remove_submenu_page( 'formidable', 'formidable-inbox' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment