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

@ -59,8 +59,11 @@ class Payment_Manager extends Base_Manager {
$this->register_forms();
Event_Manager::register_model_events('payment', __('Payment', 'wp-ultimo'), array('created', 'updated'));
add_action('init', function () {
Event_Manager::register_model_events( 'payment',
__( 'Payment', 'wp-ultimo' ),
array( 'created', 'updated' ) );
});
add_action('wp_login', array($this, 'check_pending_payments'), 10);
add_action('wp_enqueue_scripts', array($this, 'show_pending_payments'), 10);