How to disable the “Help Us Improve Social Link Pages!” notice

Community

To help make Social Link Pages better, we kindly ask that you let us collect some basic, anonymous info about how you use the plugin.

But if you're running the community version, it makes sense you might want to disable this notice for your users. Here's how!

Add the following code to your functions.php to filter out the option of showing the notice:

add_filter(
'social_link_pages_admin_footer_vars',
function($args){
$args['user']['gave_permission_to_collect_stats'] = 0;
return $args;
}
);