Since options are hidden, remove notices for now - allow use.
This commit is contained in:
parent
d765e2319c
commit
5adb1edef5
|
@ -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'] );
|
||||
}
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue