| Server IP : 51.91.236.255 / Your IP : 216.73.216.180 Web Server : Apache System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : laureet ( 1012854) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/laureet/www/wp-content/themes/rhye/inc/functions/helpers/ |
Upload File : |
<?php
/**
* Get all the registered image sizes along
* with their formatted names
*
* @return array $image_sizes The image sizes
*/
function arts_get_all_image_sizes() {
$image_sizes = get_intermediate_image_sizes();
$formatted_sizes = array();
$image_sizes[] = 'full'; // original image size
if ( $image_sizes ) {
foreach ( $image_sizes as $size ) {
$formatted_sizes[ $size ] = ucwords( str_replace( '_', ' ', $size ) );
}
}
return $formatted_sizes;
}