astra_is_edd_single_page()

Check current page is an EDD single page


Description


Return

(bool) true | false


Source

File: inc/compatibility/edd/edd-common-functions.php

	function astra_is_edd_single_page() {
		if (
			is_singular( 'download' ) ||
			edd_is_checkout() ||
			edd_is_success_page() ||
			edd_is_failed_transaction_page() ||
			edd_is_purchase_history_page()
		) {
			return true;
		}
		return false;
	}

Changelog

Changelog
Version Description
1.5.5 Introduced.


User Contributed Notes

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