How remove theme default image sizes. WordPress example open

How remove theme default image sizes. WordPress example

function somarket_remove_default_image_sizes( $sizes ) {
	return array_diff( $sizes, array(
		'boxstyle-small',
		'boxstyle-medium',
		'boxstyle-large',
		'boxstyle-list',
	) );
}

add_filter( 'intermediate_image_sizes', 'somarket_remove_default_image_sizes' );
0

More

Leave a Reply

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

How many?: 22 + 22

lil-code© | 2022 - 2024
Go Top
Authorization
*
*
Registration
*
*
*
*
Password generation