• 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 / APIs / edd_get_failed_transaction_uri() – Get the URL of the Transaction Failed page

You appear to be a bot. Output may be restricted

Description

Get the URL of the Transaction Failed page

Usage

$mixed|void = edd_get_failed_transaction_uri( $extras );

Parameters

$extras
( bool ) optional – Extras to append to the URL

Returns

mixed|void Full URL to the Transaction Failed page, if present, home page if it doesn't exist

Source

File name: easy-digital-downloads/includes/checkout/functions.php
Lines:

1 to 10 of 10
function edd_get_failed_transaction_uri( $extras = false ) {
  $uri = edd_get_option( 'failure_page', '' );
  $uri = ! empty( $uri ) ? trailingslashit( get_permalink( $uri ) ) : home_url();

  if ( $extras ) {
    $uri .= $extras;
  }

  return apply_filters( 'edd_get_failed_transaction_uri', $uri );
}
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 14th September 2022

Primary Sidebar

Information

Function name: edd_get_failed_transaction_uri
Plugin ref: Easy Digital Downloads
Version: 3.1.0.2
Sourcefile: includes/checkout/functions.php
File ref: includes/checkout/functions.php
Deprecated?: No
API Letters: E,F,G,T,U

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 6.1.1
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-2023. All rights reserved.


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