Description

Returns the edit link of the current or specified Product.

Usage

<?php echo wpsc_edit_the_product_link( $link,$before,$after,$id ); ?>

Parameters

$link
(string) Edit link text. Defaults to ‘Edit’.

$before
(string) Markup that appears before the Product edit link. Defaults to ”.

$after
(string) Markup that appears after the Product edit link. Defaults to ”.

$id
(integer) Product ID. Defaults to the current Product ID.

Example

<?php echo wpsc_edit_the_product_link('Edit Product'); ?>

Source file

wpsc_edit_the_product_link() is located in wpsc-includes/wpsc_query.php.