Woocommerce & WordPress Twenty Seventeen
-
Can you please tell me if the following code that I added to my child theme’s function.php file is causing your latest update to recognize the file as outdated? I can’t find any updates for this theme. Therefore, I’m not sure why after I applied the update that I’m getting the out of date file message or why it says that there are outdated Woocommerce files in my theme. Here is the code:
/** *Reduce the strength requirement on the woocommerce password. * * Strength Settings * 3 = Strong (default) * 2 = Medium * 1 = Weak * 0 = Very Weak / Anything */ function reduce_woocommerce_min_strength_requirement( $strength ) { return 2; } add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' ); remove_action( 'wp_head', 'wp_generator' ); // The above line removes WP Generator Meta Tag as suggested by security plugin ?>
Thanks.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce & WordPress Twenty Seventeen’ is closed to new replies.