This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Github Issue: https://github.com/WordPress/Learn/issues/1873 | |
Prompt: | |
I need your help with translation from english to german. I have the english translation and the german translation. Would you be able to tell me if the german translation is correct? | |
Response: | |
Absolutely, I'd be happy to help with that. Please provide both the English text and the German translation, and I'll review the German version for accuracy and correctness. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup for the Automating WordPress with no code commands | |
# Install npm | |
npm install -g npm@latest | |
# Install n8n with npm | |
npm install n8n -g | |
# Fix Authorization 401 for n8n and localwp WooCommerce REST API | |
# https://www.schakko.de/2020/09/05/fixing-http-401-unauthorized-when-calling-woocommerces-rest-api/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright (c) 2016 Ultra Community (http://www.ultracommunity.com) | |
* | |
* Replace this file in invisible-recaptcha/includes/utils/MchIPUtils.php | |
*/ | |
namespace InvisibleReCaptcha\MchLib\Utils; | |
final class MchIPUtils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function change_billing_fields( $fields ){ | |
$fields['billing_postcode']['label'] = ''; | |
$fields['billing_postcode']['placeholder'] = 'Postcode monkey*'; | |
$fields['billing_email']['label'] = ''; | |
$fields['billing_email']['placeholder'] = 'Email*'; | |
$fields['billing_phone']['label'] = ''; | |
$fields['billing_phone']['placeholder'] = 'Phone*'; | |
return $fields; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var somejsfile; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Required Tutor LMS v.1.6.0 | |
*/ | |
add_action('tutor_new_instructor_after', 'wcv_add_vendor_role'); | |
/** | |
* @param $instructor_id | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Disable the product type drop down. | |
add_filter('wcv_disable_product_type', function() { return true; } ); | |
add_filter( 'wcv_product_meta_tabs', function() { return array(); } ); | |
// Adjust styles of the product tabs after removing them. | |
add_action('wp_head', 'wcv_add_custom_styles', 10); | |
function wcv_add_custom_styles() { | |
echo "<style>.tabs-nav { display: none!important;}</style>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Disable existing order page hook into the dashboard links filter | |
* | |
* filter: wcv_pro_dashboard_urls | |
*/ | |
add_filter( 'wcv_pro_dashboard_urls', 'wcv_remove_order_page' ); | |
function wcv_remove_order_page( $pages ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wcv_after_product_simple_after', 'wcv_add_inventory_fields' ); | |
function wcv_add_inventory_fields( $object_id ){ | |
?> | |
<!-- Inventory --> | |
<div class="wcv-product-inventory inventory_product_data tabs-content" id="inventory"> | |
<?php WCVendors_Pro_Product_Form::manage_stock( $object_id ); ?> | |
<?php do_action( 'wcv_product_options_stock', $object_id ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Sourced from https://docs.wcvendors.com/knowledge-base/add-menu-item-to-dashboard/ | |
// Add this to your themes functions.php. | |
function wcv_add_menu_item( $pages ){ | |
$pages[] = array( | |
'label' => 'First Page', | |
'slug' => 'http://wcvendors.com/support', | |
'actions' => array() | |
); |
NewerOlder