How To Disable WordPress Update Notifications

Code Used in the Video

// Remove update notifications
function remove_update_notifications( $value ) {

if ( isset( $value ) && is_object( $value ) ) {
    unset( $value->response[ 'astra-addon/astra-addon.php' ] );
}

return $value;

}
add_filter( 'site_transient_update_plugins', 'remove_update_notifications' );

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top