updated plugin Easy Digital Downloads
version 3.1.1.2
This commit is contained in:
@ -96,9 +96,9 @@ function edd_downloads_contextual_help() {
|
||||
);
|
||||
|
||||
$screen->add_help_tab( array(
|
||||
'id' => 'edd-purchase-shortcode',
|
||||
'title' => __( 'Purchase Shortcode', 'easy-digital-downloads' ),
|
||||
'content' =>
|
||||
'id' => 'edd-purchase-shortcode',
|
||||
'title' => __( 'Purchase Shortcode', 'easy-digital-downloads' ),
|
||||
'content' =>
|
||||
'<p>' . __( '<strong>Purchase Shortcode</strong> - If the automatic output of the purchase button has been disabled via the Download Configuration box, a shortcode can be used to output the button or link.', 'easy-digital-downloads' ) . '</p>' .
|
||||
'<p><code>[purchase_link id="#" price="1" text="Add to Cart" color="blue"]</code></p>' .
|
||||
'<ul>
|
||||
@ -109,7 +109,11 @@ function edd_downloads_contextual_help() {
|
||||
<li><strong>color</strong> - <em>' . implode( '</em> | <em>', $colors ) . '</em></li>
|
||||
<li><strong>class</strong> - ' . __( 'One or more custom CSS classes you want applied to the button.', 'easy-digital-downloads' ) . '</li>
|
||||
</ul>' .
|
||||
'<p>' . sprintf( __( 'For more information, see <a href="%s">using Shortcodes</a> on the WordPress.org Codex or <a href="%s">Easy Digital Downloads Documentation</a>', 'easy-digital-downloads' ), 'https://codex.wordpress.org/Shortcode', 'https://docs.easydigitaldownloads.com/article/229-purchaselink' ) . '</p>'
|
||||
'<p>' . sprintf(
|
||||
__( 'For more information, see <a href="%s">using Shortcodes</a> on the WordPress.org Codex or <a href="%s">Easy Digital Downloads Documentation</a>', 'easy-digital-downloads' ),
|
||||
'https://codex.wordpress.org/Shortcode',
|
||||
'https://easydigitaldownloads.com/docs/purchase_link-shortcode/'
|
||||
) . '</p>'
|
||||
) );
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user