# sendwp/1.2.9/includes/hooks.php

SendWP, version 1.2.9. 21 lines.

- Page: https://pluginprobe.com/plugins/sendwp/1.2.9/code/includes/hooks.php
- Raw: https://pluginprobe.com/plugins/sendwp/1.2.9/raw/includes/hooks.php
- Modified: 2022-05-30T19:40:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sendwp/1.2.9/code/includes/hooks.php#L10-L20`.

```php
<?php

if ( sendwp_forwarding_enabled() ) {
	add_action( 'phpmailer_init', array( \SendWP\mailer::class, 'factory' ) );
}

if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
	add_filter( 'https_local_ssl_verify', '__return_false' );
	add_filter( 'https_ssl_verify', '__return_false' );
}

add_action( 'admin_notices', 'sendwp_forwarding_disabled_notice' );
add_action( 'wp_ajax_sendwp_forwarding', 'sendwp_maybe_disable_forwarding' );

// Register our pulse monitor.
add_action( 'init', 'sendwp_connect_pulse_monitor' );
add_action( 'sendwp_heartbeat', 'sendwp_pulse_monitor' );

add_action( 'init', 'sendwp_update_client_connection' );
add_action( 'init', 'sendwp_get_client_status' );

```
