Plugin Directory

Changeset 2703142


Ignore:
Timestamp:
04/01/2022 07:57:25 AM (4 years ago)
Author:
thomascharbit
Message:

add class to html output

Location:
wc-shipping-method-description
Files:
1 edited
6 copied

Legend:

Unmodified
Added
Removed
  • wc-shipping-method-description/trunk/shipping-method-description-for-woocommerce.php

    r2665966 r2703142  
    66 * Author: Thomas Charbit
    77 * Author URI: https://thomascharbit.fr
    8  * Version: 1.2.2
     8 * Version: 1.2.3
    99 * License: GPLv3 or later License
    1010 * Requires at least: 4.4
     
    9595    if ( array_key_exists( 'description', $meta_data ) ) {
    9696        $description = apply_filters( 'smdfw_description_output', html_entity_decode( $meta_data['description'] ), $method );
    97         $html        = '<div><small class="smdfw">' .  wp_kses( $description, wp_kses_allowed_html( 'post' ) ) . '</small></div>';
     97        $html        = '<div class="shipping_method_description"><small class="smdfw">' .  wp_kses( $description, wp_kses_allowed_html( 'post' ) ) . '</small></div>';
    9898        echo apply_filters( 'smdfw_description_output_html', $html, $description, $method );
    9999    }
Note: See TracChangeset for help on using the changeset viewer.