How to remove yoast ads and license notification

  Open wordpress-seo-premium/admin/class-extension-manager.php replace public function is_activated( $extension_name ) { with     public function is_activated( $extension_name ) {     return true;   wordpress-seo-premium/vendor/yoast/license-manager/class-license-manager.php replace         public function activate_license() { with         public function activate_license() {         return true; this will remove yoast ads  and license notification