Add class for bacs heading

This commit is contained in:
Mike Jolley 2016-03-24 10:47:08 +00:00
parent ca5a46a2f9
commit 795cb6d763
1 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@ class WC_Gateway_BACS extends WC_Payment_Gateway {
$bacs_accounts = apply_filters( 'woocommerce_bacs_accounts', $this->account_details );
if ( ! empty( $bacs_accounts ) ) {
echo '<h2>' . __( 'Our Bank Details', 'woocommerce' ) . '</h2>' . PHP_EOL;
echo '<h2 class="wc-bacs-bank-details-heading">' . __( 'Our Bank Details', 'woocommerce' ) . '</h2>' . PHP_EOL;
foreach ( $bacs_accounts as $bacs_account ) {
@ -289,7 +289,7 @@ class WC_Gateway_BACS extends WC_Payment_Gateway {
echo '<h3>' . wp_unslash( implode( ' - ', array_filter( array( $bacs_account->account_name, $bacs_account->bank_name ) ) ) ) . '</h3>' . PHP_EOL;
}
echo '<ul class="order_details bacs_details">' . PHP_EOL;
echo '<ul class="wc-bacs-bank-details order_details bacs_details">' . PHP_EOL;
// BACS account fields shown on the thanks page and in emails
$account_fields = apply_filters( 'woocommerce_bacs_account_fields', array(