Biggest Sale of the year

Union (5)
Countdown Timer reference
10
Days
:
10
Hours
:
05
Minutes
:
10
Seconds
Grab My Black Friday Deal

Documentation

  1. Home
  2. /
  3. Subscribe2
  4. /
  5. Hooks, API & Customi...
  6. /
  7. s2_remote_embed_host

s2_remote_embed_host

This hook allows control over embedding of images from remote hosts when generating emails. In some circumstances you may not want to embed the remote image – perhaps due to slow performance from the remote server.

function disallowed_host( $allowed, $host ) {
    // return false; // if you want to link rather than embed all remote images
    if ( 's.w.org' === $host ) {
        $allowed = false;
    }
    return $allowed;
}
add_filter( 's2_remote_embed_host', 'disallowed_host', 10, 2 );
Still stuck? Contact

How can we help?

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)

Exit intent popup

WAIT! We're Beating Our Own Black Friday Deal!

Apply this:

00Days
00Hours
00Min
00Sec
Claim Yours & Save Over $1398