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
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/mac-kullanici-adi/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" |
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
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
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 | |
/** | |
* @snippet WooCommerce Fatura Detayları Nasıl Düzenlenir? | |
* @sourcecode https://blog.wolinka.com.tr/?p=167 | |
* @author Wolinka - WooCommerce Uzmani | |
* @compatible WooCommerce 4.0.1 | |
**/ | |
// Fatura Adresi kısmına vergi dairesi ve vergi numarası özel alanlarını ekler. | |
function wlnk_billing_custom_checkout_fields( $fields ) { |
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 | |
/** | |
* @snippet WooCommerce: Yeni Müşteri Kaydı E-Posta Bildirimi | |
* @sourcecode https://blog.wolinka.com.tr/?p=181 | |
* @author Wolinka - WooCommerce Uzmani | |
* @compatible WooCommerce 4.0.1 | |
**/ | |
function wlnk_new_customer_admin_notification( $customer_id ) { | |
wp_send_new_user_notifications( $customer_id, 'admin' ); | |
} |
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
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title>wolinka.com.tr</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
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 | |
/** | |
* @snippet WooCommerce Sepete Ekle Butonunu Kaldırma Fonksiyonu | |
* @sourcecode https://blog.wolinka.com.tr/?p=164 | |
* @author Wolinka - WooCommerce Uzmani | |
* @compatible WooCommerce 4.0.1 | |
**/ | |
add_filter( 'woocommerce_is_purchasable', '__return_false'); // Satin alma islevini devre disi birakir ve basit urunlerde sepete ekle butonunu kaldirir. | |
remove_action('woocommerce_single_variation', 'woocommerce_single_variation', 10); // Varsyonlu urunlerde fiyati kaldırır. | |
remove_action('woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20); // Varyasyonlu urunlerde sepete ekle butonunu kaldirir. |
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 | |
/** | |
* @snippet WooCommerce Sepete Ekle Butonunu Kaldırma Fonksiyonu | |
* @sourcecode https://blog.wolinka.com.tr/?p=164 | |
* @author Wolinka - WooCommerce Uzmani | |
* @compatible WooCommerce 4.0.1 | |
**/ | |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); // Magaza ve Arsiv | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); // All single | |
remove_action( 'woocommerce_simple_add_to_cart', 'woocommerce_simple_add_to_cart', 30 ); // Basit urunler icin |
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 | |
/** | |
* @snippet WordPress Bilesenleri Eski Haline Getirme Fonksiyonu | |
* @sourcecode https://blog.wolinka.com.tr/?p=804 | |
* @author Wolinka - WordPress Uzmani | |
* @compatible WordPress 5.8 | |
**/ | |
// Disables the block editor from managing widgets in the Gutenberg plugin. | |
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 ); |
NewerOlder