function gt3_child_scripts() { wp_enqueue_style( 'gt3-parent-style', get_template_directory_uri(). '/style.css' ); } add_action( 'wp_enqueue_scripts', 'gt3_child_scripts' ); function modify_upload_mimes ( $mimes_types ) { // add your extension to the mimes array as below $mimes_types['zip'] = 'application/zip'; $mimes_types['gz'] = 'application/x-gzip'; return $mimes_types; } add_filter( 'upload_mimes', 'modify_upload_mimes', 99 ); function add_allow_upload_extension_exception( $types, $file, $filename, $mimes ) { // Do basic extension validation and MIME mapping $wp_filetype = wp_check_filetype( $filename, $mimes ); $ext = $wp_filetype['ext']; $type = $wp_filetype['type']; if( in_array( $ext, array( 'zip', 'gz' ) ) ) { // it allows zip files $types['ext'] = $ext; $types['type'] = $type; } return $types; } add_filter( 'wp_check_filetype_and_ext', 'add_allow_upload_extension_exception', 99, 4 ); /** * Auto Complete all WooCommerce orders. */ add_action( 'woocommerce_order_status_processing', 'processing_to_completed'); function processing_to_completed($order_id){ $order = new WC_Order($order_id); $order->update_status('completed'); } add_action( 'after_setup_theme', 'wc_remove_image_effect_support', 100 ); function wc_remove_image_effect_support() { remove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' ); } add_filter( 'woocommerce_single_product_image_thumbnail_html', 'custom_remove_product_link' ); function custom_remove_product_link( $html ) { return strip_tags( $html, '
' ); } add_filter( 'woocommerce_my_account_get_addresses', 'filter_wc_my_account_get_addresses', 10, 2 ); function filter_wc_my_account_get_addresses( $adresses, $customer_id ) { if( isset($adresses['shipping']) ) { unset($adresses['shipping']); } return $adresses; } Rulet Depozito Yok Kumarhane Oyun | BrainBox Solutions

Rulet Depozito Yok Kumarhane Oyun

Allgemein