Skip to content

Instantly share code, notes, and snippets.

View Add Woo Product Custom Fiedls
/*
* Добавление поля экспресс доставка у товара
* https://wpruse.ru/woocommerce/custom-fields-in-products/
*/
add_action( 'woocommerce_product_options_general_product_data', 'art_woo_add_custom_fields' );
function art_woo_add_custom_fields() {
global $product, $post;
echo '<div class="options_group">';// Группировка полей
// Чекбокс
View curlInit_once.php
<?php
/**
* Curl init function
* @param (string)$url
* @param (array)$params
* @return $response
*/
function curlInit($url = '', $params = array())
{
You can’t perform that action at this time.