Easy Digital Downloads
  • Package
  • Function
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Functions

  • edd_add_download_filters
  • edd_add_download_meta_box
  • edd_download_columns
  • edd_download_load
  • edd_download_meta_box_save
  • edd_downloads_contextual_help
  • edd_metabox_save_check_blank_rows
  • edd_price_field_quick_edit
  • edd_price_save_quick_edit
  • edd_render_disable_button
  • edd_render_download_columns
  • edd_render_download_limit_row
  • edd_render_download_meta_box
  • edd_render_file_row
  • edd_render_files_field
  • edd_render_price_field
  • edd_render_price_row
  • edd_render_product_notes_field
  • edd_render_product_notes_meta_box
  • edd_render_stats_meta_box
  • edd_sanitize_files_save
  • edd_sanitize_price_save
  • edd_sanitize_variable_prices_save
  • edd_save_bulk_edit
  • edd_sort_downloads
  • edd_sortable_download_columns

Function edd_sanitize_price_save

Sanitize the price before it is saved

This is mostly for ensuring commas aren't saved in the price

Package: EDD\Admin\Downloads
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.3.2
Located at includes/admin/downloads/metabox.php

Parameters summary

string $price Price before sanitization

Return value summary

float $price Sanitized price
Easy Digital Downloads API documentation generated by ApiGen 2.8.0