Lines:
1 to 31 of 31
<?php /** * * This class is for registering our meta * * @package EDD * @subpackage Classes/Register Meta * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 2.5 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* class EDD_Register_Meta */ /* function EDD_Register_Meta::__construct() – Setup the meta registration */ /* function EDD_Register_Meta::instance() – Get the one true instance of EDD_Register_Meta. */ /* function EDD_Register_Meta::hooks() – Register the hooks to kick off meta registration. */ /* function EDD_Register_Meta::register_download_meta() – Register the meta for the download post type. */ /* function EDD_Register_Meta::register_payment_meta() – Register the meta for the edd_payment post type. */ /* function EDD_Register_Meta::intval_wrapper() – Wrapper for intval Setting intval as the callback was stating an improper number of arguments, this avoids that. */ /* function EDD_Register_Meta::sanitize_array() – Sanitize values that come in as arrays */ /* function EDD_Register_Meta::sanitize_price() – Perform some sanitization on the amount field including not allowing negative values by default */ /* function EDD_Register_Meta::sanitize_variable_prices() – Sanitize the variable prices */ /* function EDD_Register_Meta::sanitize_files() – Sanitize the file downloads */ /* function EDD_Register_Meta::remove_blank_rows() – Don’t save blank rows. */ EDD_Register_Meta::instance();