Since options are hidden, remove notices for now - allow use.

This commit is contained in:
Mike Jolley 2017-11-10 16:26:33 +00:00
parent d765e2319c
commit 5adb1edef5
2 changed files with 0 additions and 2 deletions

View File

@ -193,7 +193,6 @@ class WC_Settings_Products extends WC_Settings_Page {
);
if ( has_filter( 'loop_shop_columns' ) ) {
wc_deprecated_function( 'The loop_shop_columns filter', '3.3', 'the woocomerce add_theme_support declaration, or remove the filter and set in product settings' );
unset( $settings['columns'], $settings['rows'] );
}

View File

@ -304,7 +304,6 @@ function wc_get_default_products_per_row() {
// Legacy filter.
if ( has_filter( 'loop_shop_columns' ) ) {
$columns = apply_filters( 'loop_shop_columns', $columns );
wc_deprecated_function( 'The loop_shop_columns filter', '3.3', 'the woocomerce add_theme_support declaration, or remove the filter and set in product settings' );
}
return absint( $columns );