Skip to content

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');

Via

Dieser Beitrag hat 0 Kommentare

Schreibe einen Kommentar

Deine E-Mail wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

An den Anfang scrollen