Lines:
1 to 37 of 37
<?php /** * Front-end Actions * * @package EDD * @subpackage Functions * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0.8.1 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* function edd_get_actions() – Hooks EDD actions, when present in the $_GET superglobal. Every edd_action present in $_GET is called using WordPress’s do_action function. These functions are called on init. */ add_action( 'init', 'edd_get_actions' ); /* function edd_post_actions() – Hooks EDD actions, when present in the $_POST superglobal. Every edd_action present in $_POST is called using WordPress’s do_action function. These functions are called on init. */ add_action( 'init', 'edd_post_actions' ); /* function edd_delayed_get_actions() – Call any actions that should have been delayed, in order to be sure that all necessary information has been loaded by WP Core. */ add_action( 'template_redirect', 'edd_delayed_get_actions' ); /* function edd_delayed_post_actions() – Call any actions that should have been delayed, in order to be sure that all necessary information has been loaded by WP Core. */ add_action( 'template_redirect', 'edd_delayed_post_actions' ); /* function edd_delayed_actions_list() – Get the list of actions that EDD has determined need to be delayed past init. */ /* function edd_is_delayed_action() – Determine if the requested action needs to be delayed or not. */