astra_is_edd_archive_page()

Check current page is an EDD archive page


Description


Return

(bool) true | false


Source

File: addons/edd/classes/common-functions.php

	function astra_is_edd_archive_page() {
		if (
			is_post_type_archive( 'download' ) ||
			is_tax( 'download_category' ) ||
			is_tax( 'download_tag' )
		) {
			return true;
		}
		return false;
	}

Changelog

Changelog
Version Description
1.6.10 Introduced.


User Contributed Notes

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