<?php /** * Woocommerce Class * * @file The Woocommerce Model file * @package HMWP/WoocommerceModel * @since 6.0.0 */ defined('ABSPATH') || die('Cheatin\' uh?'); class HMWP_Models_Woocommerce { public function __construct() { add_action('wp_default_scripts', array($this, 'remove_password_strength_meter')); } public function remove_password_strength_meter($scripts) { if (function_exists('is_user_logged_in') && !is_user_logged_in()) { if (method_exists($scripts, 'remove')) { $scripts->remove('password-strength-meter'); } } return $scripts; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
compatibility | Folder | 0777 |
|
|
Brute.php | File | 23.21 KB | 0644 |
|
Cache.php | File | 11.15 KB | 0644 |
|
Clicks.php | File | 6.38 KB | 0644 |
|
Compatibility.php | File | 43.06 KB | 0644 |
|
Cookies.php | File | 10.46 KB | 0644 |
|
Files.php | File | 22.59 KB | 0644 |
|
ListTable.php | File | 9.23 KB | 0644 |
|
Log.php | File | 5.51 KB | 0644 |
|
Menu.php | File | 16.34 KB | 0644 |
|
Rewrite.php | File | 115.06 KB | 0644 |
|
RoleManager.php | File | 3.06 KB | 0644 |
|
Rollback.php | File | 2.95 KB | 0644 |
|
Rules.php | File | 32.24 KB | 0644 |
|
Settings.php | File | 17.33 KB | 0644 |
|
Woocommerce.php | File | 656 B | 0644 |
|