If you’re using DigiFlash on a client’s website, you may want to disable the DigiFlash dashboard and promotional buttons.
Add those two filters into the functions.php file of your child theme:
/**
* Disable DigiFlash promo buttons
*
* This removes:
* - "Get DigiFlash Pro" submenu under Appearance
* - "Upgrade" button in Site Editor
*/
add_filter( 'digiflash_promo', '__return_false' );
/**
* Disable DigiFlash dashboard
*
* This removes:
* - DigiFlash submenu under Appearance
* - All dashboard functionality
*/
add_filter( 'digiflash_dashboard', '__return_false' );
This will completely remove the promotional buttons and the dashboard under Appearance.