The admin notification won't go away...

cmunns
Veteran
Just Getting Started

Member    Likes (0)

The admin notification doesn't go away even after configuring the Facebook option. I did notice that the operator used in the notification check is an OR so I'm guessing that the plugin doesn't like that we aren't using Twitter in this plugin.

I tried removing using an action, but had no luck

global $Wdcp_AdminPages;
remove_action( 'admin_notices', array( $Wdcp_AdminPages, 'show_nag_messages', 10));

Any thoughts on why the action is not working...or on improving the check so that it can use the && operator here:

if (!$this->data->get_option('fb_app_id') || !$this->data->get_option('tw_api_key')) {