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.
Description Description
Return Return
(void)
Source Source
File: includes/actions.php
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 ); } }
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |