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
site:*/sign-in | |
site:*/account/login | |
site:*/forum/ucp.php?mode=login | |
inurl:memberlist.php?mode=viewprofile | |
intitle:"EdgeOS" intext:"Please login" | |
inurl:user_login.php | |
intitle:"Web Management Login" | |
site:*/users/login_form | |
site:*/access/unauthenticated | |
site:account.*.*/login |
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 | |
add_filter( 'woocommerce_display_product_attributes', 'extra_product_information', 10, 2 ); | |
function extra_product_information( $product_attributes, $product ) { | |
$the_value = $product->get_meta( '_any_custom_field' ); | |
if ( trim( $the_value ) != '' ) { | |
$product_attributes['any_custom_field'] = array( | |
'label' => 'Your label', | |
'value' => $the_value | |
); |
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 | |
/* | |
* Plugin Name: WooCommerce Add Taxonomy to Export | |
* Plugin URI: https://gist.github.com/helgatheviking/114c8df50cabb7119b3c895b1d854533/ | |
* Description: Add a custom taxonomy to WooCommerce import/export. | |
* Version: 1.0.1 | |
* Author: Kathy Darling | |
* Author URI: https://kathyisawesome.com/ | |
* | |
* Woo: 18716:fbca839929aaddc78797a5b511c14da9 |
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 | |
// This code should be added to the functions.php file of the child theme | |
// Add custom info to Additional Information product tab | |
add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); | |
function woo_rename_tabs( $tabs ) { | |
global $product; | |
$tabs['additional_information']['callback'] = 'custom_function_name'; // this is the function name which is included below | |
return $tabs; | |
} |