Lines:
1 to 45 of 45
<?php /** * Post Type Functions * * @package EDD * @subpackage Functions * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* function edd_setup_edd_post_types() – Registers and sets up the Downloads custom post type */ add_action( 'init', 'edd_setup_edd_post_types', 1 ); /* function edd_get_default_labels() – Get Default Labels */ /* function edd_get_label_singular() – Get Singular Label */ /* function edd_get_label_plural() – Get Plural Label */ /* function edd_change_default_title() – Change default "Enter title here" input */ add_filter( 'enter_title_here', 'edd_change_default_title' ); /* function edd_setup_download_taxonomies() – Registers the custom taxonomies for the downloads custom post type */ add_action( 'init', 'edd_setup_download_taxonomies', 0 ); /* function edd_get_taxonomy_labels() – Get the singular and plural labels for a download taxonomy */ /* function edd_register_post_type_statuses() – Registers Custom Post Statuses which are used by the Payments and Discount Codes */ add_action( 'init', 'edd_register_post_type_statuses', 2 ); /* function edd_updated_messages() – Updated Messages */ add_filter( 'post_updated_messages', 'edd_updated_messages' ); /* function edd_bulk_updated_messages() – Updated bulk messages */ add_filter( 'bulk_post_updated_messages', 'edd_bulk_updated_messages', 10, 2 ); /* function edd_download_row_actions() – Add row actions for the downloads custom post type */ add_filter( 'post_row_actions', 'edd_download_row_actions', 2, 100 );