LLMS_View_Manager::__construct()
Constructor
Contents
Source Source
File: includes/class.llms.view.manager.php
public function __construct() {
// Do nothing if we're creating a pending order.
if ( ! empty( $_POST['action'] ) && 'create_pending_order' === $_POST['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
return;
}
add_action( 'init', array( $this, 'add_actions' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.2.0 | Added early return when creating a pending order. |
| 3.7.0 | Introduced. |