Opened 11 years ago
#182 new enhancement
Platzhalter um eine Formatierungsfunktion erweitern
Reported by: | Roger Rehnelt | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 3.13 |
Component: | mod_downloadplus | Version: | 3.0 |
Keywords: | Cc: |
Description
Am flexibelsten wäre es wohl, PHP-Funktionen anzubieten. Vielleicht diese "maskieren". Also statt
number_format ( float $number , int $decimals = 0 , string $dec_point = '.' , string $thousands_sep = ',' )
wpsg_number_format ( float $number , int $decimals = 0 , string $dec_point = '.' , string $thousands_sep = ',' )
Nicht dass dann einer auf die Idee kommt anderen PHP-Code nutzen zu können.
Da auch Datumsfunktionen in den Platzhaltern vorkommen, wäre ein wpsg_date() sicherlich auch sinnvoll.
Note:
See TracTickets
for help on using tickets.