This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Show Custom Filter and Admin Column for Catalog Visibility @ WooCommerce Products Admin | |
* @sourcecode https://gist.github.com/statickidz/6a539550d8e0d13d2c3d12318672e816 | |
* @author Adrián Barrio Andrés (statickidz.com) | |
*/ | |
add_filter('woocommerce_product_filters', 'skidz_filter_by_catalog_visibility_dashboard_products'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SET THE HOST AND PORT OF WooCommerce | |
* *********************************************************/ | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
# SET THE ALLOWED IP OF PURGE REQUESTS | |
# ########################################################## |