I am using GDV2 on a multisite.
Installed WPInvoicing only on main site (my requirement).
I will not be using it on subsites.
I see the following notification widget on the dashboard.
GeoDirectory Pricing Manager requires either Invoicing (recommended) or WooCommerce to take payments. Please set one here.
I need to remove this widget from subsites.
What would be the function (with add_action to achieve this?
GuustModeratorPost count: 26154
I am guessing you network activated GD plugins. You should only activate them site by site.
Then you can leave the Pricing Manager de-activated on the sub-sites and that message will not pop up.
They are NOT network activated.
All subsites are activated per site (strictly following all your GDV2 docs).
Sorry, I forgot to mention this in my first post.
I might need the Pricing Manager Activated on certain subsites.
Therefore, the only solution is to write a function to remove it.
I am familiar with WP function and few GD functions.
But not for this one (WP Invoicing).
patrikModeratorPost count: 999
You should activate invoicing for all sites having GD payment manager as it is required. If you want payment manager but not invoicing on subsites and just want to remove the notice then try adding the following code in the functions.php file of the currently active theme.
remove_action('admin_notices',array( 'GeoDir_Pricing', 'check_for_cart' ), 10);
If it doesn’t work then let me know the admin details in private reply to see the GD version and do some troubleshooting.
The topic ‘Remove Notification Widget from Dashboard’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.