• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/plugin-compatibility.php


Lines:

1 to 51 of 51
<?php

/**
 * Plugin Compatibility
 *
 * Functions for compatibility with other plugins.
 *
 * @package     EDD
 * @subpackage  Functions/Compatibility
 * @copyright   Copyright (c) 2015, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */

// Exit if accessed directly
if ( ! 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 ); 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/plugin-compatibility.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,I,P

      Published: 26th November 2019 | Last updated: 26th November 2019

      Primary Sidebar

      Information

      File name: includes/plugin-compatibility.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,I,P

      includes

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites