src/includes/Settings/WC_SettingsAdapter.php
Method register_options_group
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function register_options_group( string $group_id, $group_title, $fields, string $page, array $params ): bool {
if ( \did_action( "woocommerce_sections_$page" ) ) {
return false;
}