EDD_Register_Meta
EDD_Register_Meta Class
Description Description
Source Source
File: includes/class-edd-register-meta.php
Changelog Changelog
Version | Description |
---|---|
2.5 | Introduced. |
Methods Methods
- __construct — Setup the meta registration
- hooks — Register the hooks to kick off meta registration.
- instance — Get the one true instance of EDD_Register_Meta.
- intval_wrapper — Wrapper for intval Setting intval as the callback was stating an improper number of arguments, this avoids that.
- register_download_meta — Register the meta for the download post type.
- register_payment_meta — Register the meta for the edd_payment post type.
- remove_blank_rows — Don't save blank rows.
- sanitize_array — Sanitize values that come in as arrays
- sanitize_files — Sanitize the file downloads
- sanitize_price — Perform some sanitization on the amount field including not allowing negative values by default
- sanitize_variable_prices — Sanitize the variable prices