get_label(); } /** * URL to a tab. * * @since 2.9.0 * * @return string */ public function get_link() { return add_query_arg( [ 's' => 'wp_mail_smtp' ], parent::get_link() ); } /** * Register hooks. * * @since 2.9.0 */ public function hooks() { add_action( 'current_screen', [ $this, 'init' ], 20 ); } /** * Init. * * @since 2.9.0 */ public function init() { if ( $this->is_applicable() ) { \ActionScheduler_AdminView::instance()->process_admin_ui(); } } /** * Display scheduled actions table. * * @since 2.9.0 */ public function display() { if ( ! $this->is_applicable() ) { return; } ?>

Action Scheduler library, which allows it to queue and process bigger tasks in the background without making your site slower for your visitors. Below you can see the list of all tasks and their status. This table can be very useful when debugging certain issues.', 'wp-mail-smtp' ), [ 'a' => [ 'href' => [], 'rel' => [], 'target' => [], ], ] ), 'https://actionscheduler.org/' ); ?>

%s', 'wp-mail-smtp' ), sanitize_text_field( wp_unslash( $_GET['s'] ) ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended ), [ 'strong' => [] ] ); ?>
render_admin_ui(); } /** * Check if ActionScheduler_AdminView class exists. * * @since 2.9.0 * * @return bool */ private function is_applicable() { return class_exists( 'ActionScheduler_AdminView' ); } }