Fix docblock defaults to false closes #29367

This commit is contained in:
roykho 2021-03-12 11:59:18 -08:00
parent c2262ee3ef
commit efdf76634b
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ if ( ! class_exists( 'WC_Email_New_Order' ) ) :
* Controls if new order emails can be resend multiple times.
*
* @since 5.0.0
* @param bool $allows Defaults to true.
* @param bool $allows Defaults to false.
*/
if ( 'true' === $email_already_sent && ! apply_filters( 'woocommerce_new_order_email_allows_resend', false ) ) {
return;