includes/admin/settings/class-wc-settings-accounts.php
Method get_settings
has 193 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_settings() {
$erasure_text = esc_html__( 'account erasure request', 'woocommerce' );
$privacy_text = esc_html__( 'privacy page', 'woocommerce' );
if ( current_user_can( 'manage_privacy_options' ) ) {
if ( version_compare( get_bloginfo( 'version' ), '5.3', '<' ) ) {