Talkwithkallie.com
google-site-verification: googleaf688c5029a34365.htmlContinue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google-site-verification: googleaf688c5029a34365.htmlContinue reading
Tag ID: 2613440158478Continue reading
google.com, pub-8822076209599189, DIRECT, f08c47fec0942fa0Continue reading
/** * Add a {downloads} tag for use in either the purchase receipt email or admin notification emails */ edd_add_email_tag( ‘downloads’, __( ‘A linked list of downloads purchased’, ‘edd’ ), ‘sumobi_edd_email_tag_downloads’ ); /** * The {downloads} email tag */ function…Continue reading
add_filter( ‘manage_edit-download_columns’, ‘cor_edd_manage_edit_download_columns’ ); /** * Insert the thumbnail column. */ function cor_edd_manage_edit_download_columns( $columns ) { //Below code will add new column without any text $column_thumbnail = array( ‘icon’ => false ); // Below code will show Thumbnail text in…Continue reading
class EDD_Force_Login_And_Email { function __construct() { add_action( ‘plugins_loaded’, array( $this, ‘load’ ) ); } public function load() { add_filter( ‘edd_file_download_has_access’, array( $this, ‘check_access’ ), 9999, 3 ); } public function check_access( $has_access, $payment, $args ) { if( ! is_user_logged_in() )…Continue reading
function kjm_add_payment_id_to_sales_endpoint( $sales ) { foreach ( $sales[‘sales’] as $sale => $data ) { // If sequential order numbering is on, the ID key will be a string $payment = ( is_string( $data[‘ID’] ) ) ? edd_get_payment_by(‘payment_number’, $data[‘ID’]) : $data[‘ID’];…Continue reading
function allow_additional_mime_types($mime_types) { $mime_types[‘svg’] = ‘image/svg+xml’; $mime_types[‘webp’] = ‘image/webp’; $mime_types[‘ico’] = ‘image/vnd.microsoft.icon’; return $mime_types; } add_filter(‘upload_mimes’, ‘allow_additional_mime_types’);Continue reading
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get the user email from the order $order_email = $order->billing_email; // check if there are any users with the billing email as user or email…Continue reading
add_filter( ‘woocommerce_product_add_to_cart_text’, function( $text ) { if ( ‘Add to cart’ == $text ) { $text = __( ‘Buy Now’, ‘woocommerce’ ); } return $text; } );Continue reading