Download the PHP package waughj/wp-get-image-sizes without Composer
On this page you can find all versions of the php package waughj/wp-get-image-sizes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download waughj/wp-get-image-sizes
More information about waughj/wp-get-image-sizes
Files in waughj/wp-get-image-sizes
Download waughj/wp-get-image-sizes
More information about waughj/wp-get-image-sizes
Files in waughj/wp-get-image-sizes
Vendor waughj
Package wp-get-image-sizes
Short Description Simple function for getting media image sizes for WordPress.
License GPL-2.0-or-later
Package wp-get-image-sizes
Short Description Simple function for getting media image sizes for WordPress.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package wp-get-image-sizes
WP Get Image Sizes
Simple function for getting media image sizes for WordPress.
Use
use function WaughJ\WPGetImageSizes\WPGetImageSizes;
$image_sizes = WPGetImageSizes();
foreach ( $image_sizes as $size )
{
echo "{$size->getSlug()} : {$size->getWidth()} : {$size->getHeight()}\n";
}
On default WordPress installations, will print:
thumbnail : 150 : 150
medium : 300 : 300
medium_large : 768 : 768
large : 1024 : 1024
All versions of wp-get-image-sizes with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package waughj/wp-get-image-sizes contains the following files
Loading the files please wait ....