mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Refactor Action Scheduler for not only email handling.
Updated the Action Scheduler implementation to improve flexibility and clarity. Replaced the 'enable_action_scheduler' option with 'enable_as_email_sending' for better specificity. Introduced hook-based checks to selectively enable email scheduling, ensuring compatibility and optimized performance.
This commit is contained in:
@@ -1011,7 +1011,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
'enable_blocks' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
'enable_action_scheduler' => array(
|
||||
'enable_as_email_sending' => array(
|
||||
'sanitize' => 'bool',
|
||||
),
|
||||
'rest_api_version' => array(
|
||||
|
||||
Reference in New Issue
Block a user