How to remove an attribute from filtering?

How to remove an attribute from filtering?

In order to hide some filters on Category pages, please, follow the next steps:

1) Kindly navigate to Stores > Attributes > Product and open the attribute you'd like to hide.
2)After that, please, go to Storefront Properties tab, set the Use in Layered Navigation = No, and save the changes:



3) Once done, please, run the following Magento commands to refresh the filters that are displayed in the frontend:

php bin/magento indexer:reindex
php bin/magento cache:flush