astra_is_edd_page()
Check current page is an EDD page
Description
Return
(bool) true | false
Source
File: inc/compatibility/edd/edd-common-functions.php
function astra_is_edd_page() { if ( is_singular( 'download' ) || is_post_type_archive( 'download' ) || is_tax( 'download_category' ) || is_tax( 'download_tag' ) || edd_is_checkout() || edd_is_success_page() || edd_is_failed_transaction_page() || edd_is_purchase_history_page() ) { return true; } return false; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.5.5 | Introduced. |