Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Removes Storefront's Welcome page
- */
- if ( ! class_exists( 'Storefront_Admin' ) ) :
- class Storefront_Admin {
- public function __construct() {
- remove_action( 'admin_menu', 'welcome_register_menu', 1 );
- }
- }
- endif;
- return new Storefront_Admin();
Add Comment
Please, Sign In to add comment