astra_is_edd_archive_page()

Check current page is an EDD archive page


Description


Return

(bool) true | false


Source

File: inc/compatibility/edd/edd-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.5.5 Introduced.


User Contributed Notes

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