Creates a product from a template name passed in through the template_name param.
$template_path, $template_name
Sortie :
@param WP_REST_Request $request Request data. @return WP_REST_Response|WP_Error
// Modifier la valeur avec le filtre 'woocommerce_product_template_csv_file_path'
add_filter('woocommerce_product_template_csv_file_path', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($template_path) {
// Modifier la valeur
return $template_path;
}
Chargement des actualités...