woocommerce_add_

woocommerce_add_

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_add_') is found 2 times:

  • /includes/wc-notice-functions.php line 89
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    if ( 'success' === $notice_type ) {
        $message = apply_filters( 'woocommerce_add_message', $message );
    }
     
    $message = apply_filters( 'woocommerce_add_' . $notice_type, $message );
     
    if ( ! empty( $message ) ) {
        $notices[ $notice_type ][] = array(
            'notice' => $message,
            'data'   => $data,
        );
  • /includes/wc-notice-functions.php line 199
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    if ( 'success' === $notice_type ) {
        $message = apply_filters( 'woocommerce_add_message', $message );
    }
     
    $message = apply_filters( 'woocommerce_add_' . $notice_type, $message );
     
    // Buffer output.
    ob_start();
     
    wc_get_template(
        "notices/{$notice_type}.php",