ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
2026-09-20 18:18:48
Editing: functions.php
Cancel
Save Changes
<?php /** * Formats given price in cents into a pretty price that can be displayed to users. * * @param int $price * @param array $args (see \WPChill\DownloadMonitor\Shop\Helper\Format) * * @return string */ function dlm_format_money( $price, $args = array() ) { return \WPChill\DownloadMonitor\Shop\Services\Services::get()->service( 'format' )->money( $price, $args ); } /** * @param array $values ([ 'option_key' => 'option_value' ]) */ function dlm_checkout_fields( $values = array() ) { \WPChill\DownloadMonitor\Shop\Services\Services::get()->service( 'checkout_field' )->output_all_fields( $values ); } /** * Return if the shop functionality of Download Monitor is enabled * * @return bool */ function dlm_is_shop_enabled() { // we don't use the service here because this function needs to before the service is available $settings = new DLM_Settings_Helper(); return ( 1 == $settings->get_option( 'shop_enabled' ) ); }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete