Added $notice as second argument of "woocommerce_demo_store" filter
This commit is contained in:
parent
53552f8028
commit
449b3a949d
|
@ -448,7 +448,7 @@ if ( ! function_exists( 'woocommerce_demo_store' ) ) {
|
|||
$notice = __( 'This is a demo store for testing purposes — no orders shall be fulfilled.', 'woocommerce' );
|
||||
}
|
||||
|
||||
echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>' );
|
||||
echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>', $notice );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue