You appear to be a bot. Output may be restricted
Description
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.
Usage
$void = edd_post_actions();
Parameters
Returns
void
Source
File name: easy-digital-downloads/includes/actions.php
Lines:
1 to 13 of 13
function edd_post_actions() { $key = ! empty( $_POST['edd_action'] ) ? sanitize_key( $_POST['edd_action'] ) : false; $is_delayed_action = edd_is_delayed_action( $key ); if ( $is_delayed_action ) { return; } if ( ! empty( $key ) ) { do_action( "edd_{$key}", $_POST ); } }