Lines:
1 to 38 of 38
<?php /** * Customers - Admin Functions. * * @package EDD * @subpackage Admin/Customers * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 2.3 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* function edd_register_default_customer_views() – Register a view for the single customer view */ add_filter( 'edd_customer_views', 'edd_register_default_customer_views', 1, 1 ); /* function edd_register_default_customer_tabs() – Register a tab for the single customer view */ add_filter( 'edd_customer_tabs', 'edd_register_default_customer_tabs', 1, 1 ); /* function edd_register_delete_customer_tab() – Register the Delete icon as late as possible so it’s at the bottom */ add_filter( 'edd_customer_tabs', 'edd_register_delete_customer_tab', PHP_INT_MAX, 1 ); /* function edd_maybe_remove_adminbar_profile_link() – Remove the admin bar edit profile link when the user is not verified */ add_action( 'wp_before_admin_bar_render', 'edd_maybe_remove_adminbar_profile_link' ); /* function edd_maybe_remove_menu_profile_links() – Remove the admin menus and disable profile access for non-verified users */ add_action( 'admin_init', 'edd_maybe_remove_menu_profile_links' ); /* function edd_add_customer_column_to_users_table */ add_filter( 'manage_users_columns', 'edd_add_customer_column_to_users_table' ); /* function edd_render_customer_column */ add_action( 'manage_users_custom_column', 'edd_render_customer_column', 10, 3 ); /* function edd_render_customer_details_header */