mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Limit max length of invoice prefix
This commit is contained in:
parent
8cdcbcf4bb
commit
7428a4446b
1 changed files with 1 additions and 0 deletions
|
@ -741,6 +741,7 @@ return array(
|
|||
'type' => 'text',
|
||||
'desc_tip' => true,
|
||||
'description' => __( 'If you use your PayPal account with more than one installation, please use a distinct prefix to separate those installations. Please do not use numbers in your prefix.', 'woocommerce-paypal-payments' ),
|
||||
'maxlength' => 15,
|
||||
'default' => ( static function (): string {
|
||||
$site_url = get_site_url( get_current_blog_id() );
|
||||
$hash = md5( $site_url );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue