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 | |
remove_action( 'edd_checkout_form_top', 'edd_show_payment_icons' ); | |
add_action( 'edd_checkout_form_top', 'edd_show_payment_icons', 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
<?php // DO NO COPY THIS LINE | |
function my_custom_products_translation( $products_name ){ | |
return 'Nagranie'; | |
} | |
add_filter( 'fes_product_constant_plural_uppercase', 'my_custom_products_translation' ); |
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
.header-navigation .menu li:hover > ul, | |
.header-navigation .menu li:hover ul li a { | |
display: block; | |
} | |
.header-navigation .menu li ul li ul { | |
position: absolute; | |
top: 0; | |
left: 0; | |
margin: 0; |
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 ENTIRE LINE | |
function sd_link_expired_text( $content ) { | |
$content = 'Your new text'; | |
return $content; | |
} | |
add_filter( 'edd_download_link_expired_text', 'sd_link_expired_text' ); |
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 | |
function sd_change_checkout_thumb_image_size( $dimensions ) { | |
$dimensions = array( 60, 60 ); | |
return $dimensions; | |
} | |
add_filter( 'edd_checkout_image_size', 'sd_change_checkout_thumb_image_size' ); |
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 | |
if ( function_exists( 'edd_reviews' ) ) { | |
remove_filter( 'the_content', array( edd_reviews(), 'load_frontend' ) ); | |
} |
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_edd_et_clean() { | |
global $edd_options; | |
// wrap | |
echo '<div style="background: #efefef;padding: 0 0 30px;">'; | |
// header | |
echo '<div style="margin:0 0 25px;">'; | |
echo '<div style="width:640px;margin: 0 auto;">'; |
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 | |
// remove default placement of checkbox | |
remove_action('edd_purchase_form_before_submit', 'eddconstant_contact_constant_contact_fields', 100); | |
// add checkbox below personal info section | |
add_action('edd_purchase_form_user_info_fields', 'eddconstant_contact_constant_contact_fields', 100); |
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 | |
function sd_vendor_dashboard_menu_products( $menu_items ) { | |
$menu_items['my_products']['name'] = 'My ' . EDD_FES()->helper->get_product_constant_name( $plural = true, $uppercase = true ); | |
return $menu_items; | |
} | |
add_filter( 'fes_vendor_dashboard_menu', 'sd_vendor_dashboard_menu_products' ); |
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 | |
function pw_custom_discounts_html( $html, $discounts, $rate, $remove_url ) { | |
$html = str_replace( '%', ' %', $html ); | |
return $html; | |
} | |
add_filter( 'edd_get_cart_discounts_html', 'pw_custom_discounts_html', 10, 4 ); |