PHP code example of pronamic / wp-money
1. Go to this page and download the library: Download pronamic/wp-money library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pronamic / wp-money example snippets
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' );