Optin Optin
Use code:
0 Day
00 Hour
00 Min
00 Sec
Grab It Before It’s Gone

Documentation

s2_image_size

This hook allows images inserted to replace the {IMAGE} keyword to be resized. Default WordPress sizes can be used to physical sizes can be passed in an array.

function my_s2_image_size() {
    // return a pre-defined size like 'thumbnail' or 'full'
    // or return a physical size as an array like array(300, 300) or array(150, 150)
 
    // examples:
    return 'thumbnail';
    return 'full';
    return array(300,300);
}
add_filter('s2_image_size', 'my_s2_image_size');

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 :)