Lines:
1 to 52 of 52
<?php /** * Plugin Compatibility * * Functions for compatibility with other plugins. * * @package EDD * @subpackage Functions/Compatibility * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* function edd_remove_post_types_order() – Disables admin sorting of Post Types Order */ add_action( 'load-edit.php', 'edd_remove_post_types_order' ); /* function edd_disable_jetpack_og_on_checkout() – Disables opengraph tags on the checkout page */ add_action( 'template_redirect', 'edd_disable_jetpack_og_on_checkout' ); /* function edd_is_caching_plugin_active() – Checks if a caching plugin is active */ /* function edd_append_no_cache_param() – Adds a ?nocache option for the checkout page */ add_filter( 'edd_settings_misc', 'edd_append_no_cache_param', -1 ); /* function edd_qtranslate_content() – Show the correct language on the [downloads] shortcode if qTranslate is active */ add_filter( 'edd_downloads_content', 'edd_qtranslate_content' ); add_filter( 'edd_downloads_excerpt', 'edd_qtranslate_content' ); /* function edd_qtranslate_prevent_redirect() – Prevents qTranslate from redirecting to language-specific URL when downloading purchased files */ add_filter( 'qtranslate_language_detect_redirect', 'edd_qtranslate_prevent_redirect' ); /* function edd_disable_woo_ssl_on_checkout() – Disable the WooCommerce ‘Un-force SSL when leaving checkout’ option on EDD checkout to prevent redirect loops */ add_action( 'template_redirect', 'edd_disable_woo_ssl_on_checkout', 9 ); /* function edd_disable_mandrill_nl2br() – Disables the mandrill_nl2br filter while sending EDD emails */ add_action( 'edd_email_send_before', 'edd_disable_mandrill_nl2br'); /* function edd_disable_404_redirected_redirect() – Prevents the Purchase Confirmation screen from being detected as a 404 error in the 404 Redirected plugin */ add_action( 'template_redirect', 'edd_disable_404_redirected_redirect', 9 ); /* function edd_say_what_domain_aliases() – Adds ‘edd’ to the list of Say What aliases after moving to WordPress.org language packs */ add_filter( 'say_what_domain_aliases', 'edd_say_what_domain_aliases', 10, 1 ); /* function edd_rsssl_remove_mixed_content_filter() – Removes the Really Simple SSL mixed content filter during file downloads to avoid errors with chunked file delivery */ add_action( 'plugins_loaded', 'edd_rsssl_remove_mixed_content_filter', 999 );