includes/admin/settings/class-wc-settings-products.php
Method get_settings
has 341 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_settings( $current_section = '' ) {
if ( 'inventory' === $current_section ) {
$settings = apply_filters(
'woocommerce_inventory_settings',
array(
File class-wc-settings-products.php
has 381 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* WooCommerce Product Settings
*
* @package WooCommerce\Admin