2017-25 © Pedro Peláez
 

library wp-money

image

pronamic/wp-money

  • Monday, July 16, 2018
  • by remcotolsma
  • Repository
  • 5 Watchers
  • 0 Stars
  • 875 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 63 % Grown

The README.md

WordPress Money

codecov Coverage Status, (*1)

Non-breaking space

In the money format it is smart to use a non-breaking space:, (*2)

In word processing and digital typesetting, a non-breaking space (" "), also called no-break space, non-breakable space (NBSP), hard space, or fixed space, is a space character that prevents an automatic line break at its position., (*3)

Source: https://en.wikipedia.org/wiki/Non-breaking_space#Keyboard_entry_method, (*4)

WordPress Filters

pronamic_money_default_format

function prefix_pronamic_money_default_format( $format ) {
    /* translators: 1: currency symbol, 2: amount, 3: currency code */
    return _x( '%1$s%2$s', 'default money format', 'pronamic-ideal' );
}

add_filter( 'pronamic_money_default_format', 'prefix_pronamic_money_default_format' );

Inspiration

  • http://php.net/manual/en/function.money-format.php
  • https://github.com/datasets/currency-codes
  • https://github.com/cknow/laravel-money
  • https://github.com/akaunting/money
  • https://github.com/moneyphp/money
  • https://github.com/Torann/laravel-currency
  • https://github.com/davidkalosi/js-money
  • https://github.com/scurker/currency.js
  • https://github.com/woocommerce/woocommerce/blob/3.3.5/includes/wc-core-functions.php#L284-L464
  • https://github.com/woocommerce/woocommerce/blob/3.3.5/i18n/locale-info.php
  • http://trigeminal.fmsinc.com/samples/setlocalesample2.asp
  • http://moneyphp.org/
  • https://packagist.org/?q=money
  • https://packagist.org/?q=currency
  • https://yarnpkg.com/en/packages?q=money
  • https://yarnpkg.com/en/packages?q=currency
  • https://www.currency-iso.org/en/home.html
  • https://docs.oracle.com/javase/7/docs/api/java/util/Currency.html
  • https://wp-languages.github.io/
  • http://php.net/manual/en/function.sscanf.php
  • http://php.net/manual/en/numberformatter.create.php
  • https://git.tibidono.com/package/money-datatype/blob/0.1.13/src/Money/TaxedMoney.php
  • https://frontstuff.io/how-to-handle-monetary-values-in-javascript
  • https://github.com/sarahdayan/dinero.js

Pronamic - Work with us, (*5)

The Versions

16/07 2018

dev-develop

dev-develop

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.3

 

The Development Requires

11/05 2018

dev-master

9999999-dev

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.3

 

The Development Requires

11/05 2018

1.0.0

1.0.0.0

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.3

 

The Development Requires