WP Version abschalten

function wpbeginner_remove_version() { return ''; } add_filter('the_generator', 'wpbeginner_remove_version');

Untitled Snippet

create custom snippet

Ai Ohashi
<10

Force account creation by cart total

Force account creation at checkout if the cart total is a certain amount and the quantity…

Prevent Discounts on Upgrades

Does not allow a discount code to be applied when an license upgrade is present in…

Untitled Snippet

function youtube_dashboard() { $api_key = "AIzaSyBzzf22Vs5sMf1eoCuhN3-0Qtnj0EKu7Bk"; $channel_id = "102319916649-hmjdaecid7f96ql384nd80ie8mn13fjj.apps.googleusercontent.com"; // ganti channel kamu $url = "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=$channel_id&key=$api_key";…

WWQ - Allow quoting out-of-stock products

add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…

Use Full Store Address in Ships From

By default the Ships From metadata displayed under the add to cart button only shows the…

dd the "MSRP" or "MAP" label to the regular price for wholesale customers

/* WWPP - Add the "MSRP" or "MAP" label to the regular price for wholesale customers…

Add Custom Taxonomy to Woocommerce Single Product Page

add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…

auto sort all media grids

add_filter('vc_media_grid_build_query', 'auto_sort_all_vc_media_grids', 999, 2); function auto_sort_all_vc_media_grids_v2($query_args, $grid_data) { // Работи само за Images режим с include…

1 … 113 114 115 116 117 … 242