xclusive_content_post_thumbnail

Description

The “xclusive_content_post_thumbnail” filter allows to change the default image size use in the post content. Version 1.1.0+.

A plugin (or theme) can add a filter with the code:

<?php add_filter( 'xclusive_content_post_thumbnail', 'filter_function_name' ); ?>

The hook is located in the content.php file.

Example

// apply filter
function filter_xclusive_content_post_thumbnail( $size ) {
	return 'large';
}
add_filter('xclusive_content_post_thumbnail', 'filter_xclusive_content_post_thumbnail');

Note: $size is a string.


Leave a Reply

Your email address will not be published. Required fields are marked *