//COMMENT FORM //change title conditionally for a certain post type function enym_comment_title($defaults) { // put…
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');
Comments (0)