I downloaded MainWP Child and looked at the code. If I am understanding this code correctly the code says: if the filterFunction variable does not equal null then set pre_site_transient_update_plugins to null. And the other condition says: if the filterFunction variable does not equal null then remove the filter on pre_site_transient_update_plugins. In other words, make sure that pre_site_transient_update_plugins always equals null so that plugin updates will never be displayed.
private $filterFunction = null; if ($this->filterFunction != null) add_filter( 'pre_site_transient_update_plugins', $this->filterFunction , 99); if ($this->filterFunction != null) remove_filter( 'pre_site_transient_update_plugins', $this->filterFunction , 99);