Remove \WC_Customer::get_hook_prefix method

This method is now redundant since the `$object_type` property is set for the class. This means the parent method will now return the exact same value.
This commit is contained in:
Dan Bitzer 2021-07-21 16:58:41 +09:30
parent 5c7d1a440a
commit 89fa082743
1 changed files with 0 additions and 10 deletions

View File

@ -126,16 +126,6 @@ class WC_Customer extends WC_Legacy_Customer {
}
}
/**
* Prefix for action and filter hooks on data.
*
* @since 3.0.0
* @return string
*/
protected function get_hook_prefix() {
return 'woocommerce_customer_get_';
}
/**
* Delete a customer and reassign posts..
*