PluginProbe
SendWP / 1.2.8
SendWP v1.2.8
trunk 0.0.1 0.0.2 0.0.3 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1 1.2.10 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.3.1 1.4.4 1.4.5 1.4.6 1.4.8
sendwp / includes / hooks.php

hooks.php in SendWP 1.2.8, at includes/hooks.php

21 lines 679 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( sendwp_forwarding_enabled() ) {
4 add_action( 'phpmailer_init', array( \SendWP\mailer::class, 'factory' ) );
5 }
6
7 if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
8 add_filter( 'https_local_ssl_verify', '__return_false' );
9 add_filter( 'https_ssl_verify', '__return_false' );
10 }
11
12 add_action( 'admin_notices', 'sendwp_forwarding_disabled_notice' );
13 add_action( 'wp_ajax_sendwp_forwarding', 'sendwp_maybe_disable_forwarding' );
14
15 // Register our pulse monitor.
16 add_action( 'init', 'sendwp_connect_pulse_monitor' );
17 add_action( 'sendwp_heartbeat', 'sendwp_pulse_monitor' );
18
19 add_action( 'init', 'sendwp_update_client_connection' );
20 add_action( 'init', 'sendwp_get_client_status' );
21