Lines:
1 to 43 of 43
<?php /** * Admin Actions * * @package EDD * @subpackage Admin/Actions * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* function edd_process_actions() – Processes all EDD actions sent via POST and GET by looking for the ‘edd-action’ request and running do_action() to call the function */ add_action( 'admin_init', 'edd_process_actions' ); /* function edd_products_tabs() – When the Download list table loads, call the function to view our tabs. */ add_filter( 'views_edit-download', 'edd_products_tabs', 10, 1 ); /* function edd_taxonomies_tabs() – When the Download list table loads, call the function to view our tabs. */ add_action( 'admin_notices', 'edd_taxonomies_tabs', 10, 1 ); /* function edd_admin_adjust_submenus() – Remove the top level taxonomy submenus. */ add_action( 'admin_menu', 'edd_admin_adjust_submenus', 999 ); /* function edd_taxonomies_modify_menu_highlight() – This tells WordPress to highlight the Downloads > Downloads submenu, regardless of which actual Downloads Taxonomy screen we are on. */ add_filter( 'admin_head', 'edd_taxonomies_modify_menu_highlight', 9999 ); /* function edd_add_new_modify_menu_highlight() – This tells WordPress to highlight the Downloads > Downloads submenu when adding a new product. */ add_filter( 'admin_head', 'edd_add_new_modify_menu_highlight', 9999 ); /* function edd_display_product_tabs() – Displays the product tabs for Products, Categories, and Tags */ /* function edd_admin_removable_query_args() – Return array of query arguments that should be removed from URLs. */ /* function edd_admin_print_payment_icons() – Output payment icons into the admin footer. */ add_action( 'admin_footer', 'edd_admin_print_payment_icons', 9999 );