• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/post-types.php


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 );
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/post-types.php
      Plugin ref: Easy Digital Downloads
      Version: 2.10.1
      Deprecated?: No
      API Letters: I,P,T

      Published: 26th November 2019 | Last updated: 26th November 2019

      Primary Sidebar

      Information

      File name: includes/post-types.php
      Plugin ref: Easy Digital Downloads
      Version: 2.10.1
      Deprecated?: No
      API Letters: I,P,T

      includes

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.7.1
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites