'<p>'.__('Should you need help understanding, using, or extending WooCommerce, please read our documentation. You will find all kinds of resources including snippets, tutorials and much more.','woocommerce').'</p>'.
'<p><a href="'.'http://docs.woothemes.com/documentation/plugins/woocommerce/'.'" class="button button-primary">'.__('WooCommerce Documentation','woocommerce').'</a> <a href="'.'http://docs.woothemes.com/wc-apidocs/'.'" class="button">'.__('Developer API Docs','woocommerce').'</a></p>'
));
$screen->add_help_tab(array(
'id'=>'woocommerce_support_tab',
'title'=>__('Support','woocommerce'),
'content'=>
'<h2>'.__('Support','woocommerce').'</h2>'.
'<p>'.sprintf(__('After %sreading the documentation%s, for further assistance you can use the %scommunity forums%s on WordPress.org to talk with other users. If however you are a WooThemes customer, or need help with premium add-ons sold by WooThemes, please %suse our helpdesk%s.','woocommerce'),'<a href="http://docs.woothemes.com/documentation/plugins/woocommerce/">','</a>','<a href="https://wordpress.org/support/plugin/woocommerce">','</a>','<a href="http://support.woothemes.com">','</a>').'</p>'.
'<p>'.__('Before asking for help we recommend checking the system status page to identify any problems with your configuration.','woocommerce').'</p>'.
'<p>'.__('If you would like to learn about using WooCommerce from an expert, consider following a WooCommerce course ran by one of our educational partners.','woocommerce').'</p>'.
'<p>'.sprintf(__('If you find a bug within WooCommerce core you can create a ticket via <a href="%s">Github issues</a>. Ensure you read the <a href="%s">contribution guide</a> prior to submitting your report. To help us solve your issue, please be as descriptive as possible and include your <a href="%s">system status report</a>.','woocommerce'),'https://github.com/woothemes/woocommerce/issues?state=open','https://github.com/woothemes/woocommerce/blob/master/CONTRIBUTING.md',admin_url('admin.php?page=wc-status')).'</p>'.
'<p><a href="'.'https://github.com/woothemes/woocommerce/issues?state=open'.'" class="button button-primary">'.__('Report a bug','woocommerce').'</a> <a href="'.admin_url('admin.php?page=wc-status').'" class="button">'.__('System Status','woocommerce').'</a></p>'
));
$screen->set_help_sidebar(
'<p><strong>'.__('For more information:','woocommerce').'</strong></p>'.
$actions['edit']='<a href="'.get_edit_post_link($post->ID).'" title="'.esc_attr__('Edit this item').'">'.__('Edit').'</a>';
$actions['inline hide-if-no-js']='<a href="#" class="editinline" title="'.esc_attr__('Edit this item inline').'">'.__('Quick Edit').'</a>';
}
if(current_user_can('delete_post',$post->ID)){
if('trash'==$post->post_status)
$actions['untrash']="<a title='".esc_attr__('Restore this item from the Trash')."' href='".wp_nonce_url(admin_url(sprintf($post_type_object->_edit_link.'&action=untrash',$post->ID)),'untrash-post_'.$post->ID)."'>".__('Restore')."</a>";
elseif(EMPTY_TRASH_DAYS)
$actions['trash']="<a class='submitdelete' title='".esc_attr__('Move this item to the Trash')."' href='".get_delete_post_link($post->ID)."'>".__('Trash')."</a>";