woocommerce_payment_gateways_setting_columns

woocommerce_payment_gateways_setting_columns

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_payment_gateways_setting_columns') is found 1 times:

  • /includes/admin/settings/class-wc-settings-payment-gateways.php line 145
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
        'description' => __( 'Description', 'woocommerce' ),
        'action'      => '',
    );
     
    $columns = apply_filters( 'woocommerce_payment_gateways_setting_columns', $default_columns );
     
    foreach ( $columns as $key => $column ) {
        echo '<th class="' . esc_attr( $key ) . '">' . esc_html( $column ) . '</th>';
    }
    ?>
    </tr>