Commit b6e94e3a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

Add screenshots for the wordpress plugins repo; TODO for wp_load_alloptions bug

parent 8b39d395
......@@ -81,6 +81,8 @@ class OrdernumberHelperWooCommerce extends OrdernumberHelper {
function getAllCounters($type) {
$counters = array();
$pfxlen = strlen(self::$ordernumber_counter_prefix );
// TODO: BUG: wp_load_alloptions does NOT load non-autoload options.
// However, we switched all counters to non-autoload, so they will not appear any more!
foreach (wp_load_alloptions() as $name => $value) {
if (substr($name, 0, $pfxlen) == self::$ordernumber_counter_prefix) {
$parts = explode('-', substr($name, $pfxlen), 2);
......
......@@ -69,6 +69,11 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins
== Screenshots ==
1. Different order and invoice numbers are possible. In the free (basic) version, only the "#" format with one running counter is possible. Custom variables like [year] etc. are only supported in the Advanced (paid) version.
2. The configuration screen of the plugin (with annotations/instructions).
3. The advanced version also allows multiple concurrent counters, like counters per customer country.
4. The configuation screen of the advanced (paid) plugin.
5. Custom variable definitions in the advanced (paid) plugin.
== Changelog ==
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment