Just encapsulate the content you want to show only to logged in users or or…
Remove Update Notification for specific plugin
This seems to work only if the plugin is active. but this is ok for me.
function remove_update_notification($value) {
//unset($value->response[ plugin_basename(__FILE__) ]); //when usin in plugin itself
//if( isset( $value->response['facebook-comments-plugin/facebook-comments.php'] ) ) {
unset( $value->response['organization-chart/wpdevart_chart.php'] );
//}
return $value;
}
add_filter('site_transient_update_plugins', 'remove_update_notification');
Dieser Beitrag hat 0 Kommentare