wpto_item_dir_type_{$type}

apply_filters( ‘wpto_item_dir_type_’ . $type, $items_directory_1, $table_ID, $product, $settings, $column_settings );

WC built-in filter to add cart of variation product.

Parameters #

$type
Pass the type of column
$items_directory_1
Get the passed item directory path
$table_ID
Get Table ID
$product
Get global $product data
$settings
Get all settings as array
$column_settings
Get columns as array

Return #

(string) Returns the passed item directory path.

File Location #

includes/extra_items_manager.php

Source Code #

View on Github.com