Rename in more places

This commit is contained in:
David Stone
2024-12-07 00:09:47 -07:00
parent 9574984471
commit 450931b405
199 changed files with 535 additions and 572 deletions

View File

@ -55,8 +55,11 @@ class Customer_Manager extends Base_Manager {
$this->enable_wp_cli();
Event_Manager::register_model_events('customer', __('Customer', 'wp-ultimo'), array('created', 'updated'));
add_action('init', function () {
Event_Manager::register_model_events( 'customer',
__( 'Customer', 'wp-ultimo' ),
array( 'created', 'updated' ) );
});
add_action('wp_login', array($this, 'log_ip_and_last_login'), 10, 2);
add_filter('heartbeat_send', array($this, 'on_heartbeat_send'));