LLMS_View_Manager::__construct()

Constructor


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' ) );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Added early return when creating a pending order.
3.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.