تابع ووکامرسی wc_display_item_downloads نمایش لینک محصولات دانلودی

تابع ووکامرسی wc_display_item_downloads – نمایش لینک محصولات دانلودی
Syntax – سینتکس
(string|void) wc_display_item_downloads( (WC_Item) $item, (array) $args = array() );
Parameters – پارامتر ها (2)
- 1- $item (WC_Item)
- 2- $args (array)
Usage – نحوه استفاده
if ( !function_exists( 'wc_display_item_downloads' ) ) {
require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-template-functions.php';
}
// The item.
$item = null;
// The args.
$args = array();
// NOTICE! Understand what this does before running.
$result = wc_display_item_downloads($item, $args);
Defined – محل تعریف
/includes/wc-template-functions.php
function wc_display_item_downloads( $item, $args = array() ) {
$strings = array();
$html = '';
$args = wp_parse_args( $args, array(
'before' => '- ', 'after' => '
versions – نسخه ها
از نسخه : 3.0.0
نسخه فعلی : 3.0.6
دیگر نسخه ها : 3.0.6 , 3.0.5 , 3.0.4 , 3.0.3 , 3.0.2
ارسال نظر