This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global | |
add_filter( 'vendd_show_single_download_author_since', '__return_false' ); | |
// download-specific | |
function example_vendd_show_single_download_author_since( $show_author_since, $post ) { | |
if ( $post->ID == 123 ) { | |
$show_author_since = false; | |
} | |
return $show_author_since; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global | |
add_filter( 'vendd_show_single_download_author_name', '__return_false' ); | |
// download-specific | |
function example_vendd_show_single_download_author_name( $show_author_name, $post ) { | |
if ( $post->ID == 123 ) { | |
$show_author_name = false; | |
} | |
return $show_author_name; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global | |
add_filter( 'vendd_show_single_download_author_avatar', '__return_false' ); | |
// download-specific | |
function example_vendd_show_single_download_author_avatar( $show_author_avatar, $post ) { | |
if ( $post->ID == 123 ) { | |
$show_author_avatar = false; | |
} | |
return $show_author_avatar; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global | |
add_filter( 'vendd_show_single_download_author_details', '__return_true' ); | |
// download-specific | |
function example_vendd_show_single_download_author_details( $show_author_details, $post ) { | |
if ( $post->ID == 123 ) { | |
$show_author_details = true; | |
} | |
return $show_author_details; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// author info on [downloads] shortcode items | |
add_filter( 'vendd_show_downloads_byline', '__return_true' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // DO NOT COPY THIS LINE | |
/** | |
* The goal is to link the line items back to their original products from the checkout cart | |
* | |
* To override the checkout_cart.php file, see here: https://easydigitaldownloads.com/videos/template-files/ | |
*/ | |
// FIND: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sd_change_fes_login_form_title( $content ) { | |
$content = str_replace( 'Login', 'Sign In to your Vendor Dashboard', $content ); | |
return $content; | |
} | |
add_action( 'fes_login_form_header', 'sd_change_fes_login_form_title', 999 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sd_before_purchase_submit_button() { | |
?> | |
<div>You can place HTML content here.</div> | |
<?php | |
} | |
add_action( 'edd_purchase_form_before_submit', 'sd_before_purchase_submit_button', 9999 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteRule ^themes/(.*)$ downloads/$1 [R=301,L] | |
RewriteRule ^extensions/24190.*$ downloads/plugnpay/ [R=301,L] | |
RewriteRule ^extensions/product-updates.*$ downloads/edd-product-updates/ [R=301,L] | |
RewriteRule ^extensions/sales-recovery.*$ downloads/edd-sales-recovery/ [R=301,L] | |
RewriteRule ^extensions/stripe-payment-gateway.*$ downloads/stripe-payment/ [R=301,L] | |
RewriteRule ^extensions/tenderapp.*$ downloads/tenderapp-single-sign-on/ [R=301,L] | |
RewriteRule ^extensions/textmagic.*$ downloads/textmagic-integration/ [R=301,L] | |
RewriteRule ^extensions/upload-file.*$ downloads/edd-upload-file/ [R=301,L] | |
RewriteRule ^extensions/usaepay.*$ downloads/usaepay-gateway/ [R=301,L] | |
RewriteRule ^extensions/vertical-respons.*$ downloads/vertical-response/ [R=301,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Sort Downloads by Last Modified | |
Plugin URI: # | |
Description: Adds sortable Modified Date column to Downloads | |
Version: 1.0 | |
Author: Sean Davis | |
Author URI: http://sdavismedia.com | |
*/ |