• 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/admin/downloads/metabox.php


Lines:

1 to 100 of 109
<?php

/**
 * Metabox Functions
 *
 * @package     EDD
 * @subpackage  Admin/Downloads
 * @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;


/** All Downloads *****************************************************************/

/* function edd_add_download_meta_box() – Register all the meta boxes for the Download custom post type */
add_action( 'add_meta_boxes', 'edd_add_download_meta_box' );

/* function edd_download_metabox_fields() – Returns default EDD Download meta fields. */

/* function edd_download_meta_box_save() – Save post meta when the save_post action is called */

add_action( 'save_post', 'edd_download_meta_box_save', 10, 2 );

/* function edd_sanitize_bundled_products_save() – Sanitize bundled products on save */
add_filter( 'edd_metabox_save__edd_bundled_products', 'edd_sanitize_bundled_products_save' );

/* function edd_metabox_save_check_blank_rows() – Don’t save blank rows. */


/** Download Configuration *****************************************************************/

/* function edd_render_download_meta_box() – Download Metabox */

/* function edd_render_files_meta_box() – Download Files Metabox */

/* function edd_render_settings_meta_box() – Download Settings Metabox */

/* function edd_render_price_field() – Price Section */
add_action( 'edd_meta_box_price_fields', 'edd_render_price_field', 10 );

/* function edd_render_price_row() – Individual Price Row */
add_action( 'edd_render_price_row', 'edd_render_price_row', 10, 4 );

/* function edd_render_product_type_field() – Product type options */
add_action( 'edd_meta_box_files_fields', 'edd_render_product_type_field', 10 );

/* function edd_render_products_field() – Renders product field */
add_action( 'edd_meta_box_files_fields', 'edd_render_products_field', 10 );

/* function edd_render_files_field() – File Downloads section. */
add_action( 'edd_meta_box_files_fields', 'edd_render_files_field', 20 );


/* function edd_render_file_row() – Individual file row. */
add_action( 'edd_render_file_row', 'edd_render_file_row', 10, 4 );

/* function edd_download_media_strings() – Alter the Add to post button in the media manager for downloads */
add_filter( 'media_view_strings', 'edd_download_media_strings', 10, 1 );


/* function edd_render_download_limit_row() – File Download Limit Row */
add_action( 'edd_meta_box_settings_fields', 'edd_render_download_limit_row', 20 );

/* function edd_render_dowwn_tax_options() – Product tax settings */

/* function edd_render_down_tax_options() – Product tax settings */
add_action( 'edd_meta_box_settings_fields', 'edd_render_down_tax_options', 30 );

/* function edd_render_download_quantity_option() – Product quantity settings */
add_action( 'edd_meta_box_settings_fields', 'edd_render_download_quantity_option', 30 );

/* function edd_render_meta_box_shortcode() – Add shortcode to settings meta box */
add_action( 'edd_meta_box_settings_fields', 'edd_render_meta_box_shortcode', 35 );

/* function edd_render_accounting_options() – Render Accounting Options */
add_action( 'edd_meta_box_settings_fields', 'edd_render_accounting_options', 25 );


/* function edd_render_disable_button() – Render Disable Button */
add_action( 'edd_meta_box_settings_fields', 'edd_render_disable_button', 30 );



/** Product Notes *****************************************************************/

/* function edd_render_product_notes_meta_box() – Product Notes Meta Box */

/* function edd_render_product_notes_field() – Render Product Notes Field */
add_action( 'edd_product_notes_meta_box_fields', 'edd_render_product_notes_field' );



/** Stats *****************************************************************/

/* function edd_render_stats_meta_box() – Render Stats Meta Box */

/* function edd_reviews_location() – Get the path of the Product Reviews plugin */
[1] [2] Next »

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/admin/downloads/metabox.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: A,D,I,M,P

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

      Primary Sidebar

      Information

      File name: includes/admin/downloads/metabox.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: A,D,I,M,P

      includes/admin/downloads

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.6
      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