{"id":16278428,"date":"2022-12-11T08:49:19","date_gmt":"2022-12-11T08:49:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/great-addon-naming-schemes-missing\/"},"modified":"2022-12-11T08:49:19","modified_gmt":"2022-12-11T08:49:19","slug":"great-addon-naming-schemes-missing","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/great-addon-naming-schemes-missing\/","title":{"rendered":"Great addon, naming schemes missing"},"content":{"rendered":"<p>Thanks for this very useful addon!<\/p>\n<p>What I am really missing is to define the format of the generated codes.<\/p>\n<p>At least it should be possible to:<br \/>\n&#8211; define the length of the generated code<br \/>\n&#8211; specify a prefix<\/p>\n<p>Optimally, you&#8217;d be able to write a format specifier like <code>mycampaign$_{5}[a-z,0-9]<\/code><\/p>\n<p>where <code>$<\/code> refers to the number of the generated coupon and <code>{n}[a-z,0-9]<\/code> specifies a random string of n characters from the specified set of characters (could be similar to regular expressions, or something simpler like <code>{n}[alphal\/num\/alphanum]<\/code>).<\/p>\n<p>Would you be able to add this? Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-16278428","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16278428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16278428\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16278428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}