AnsPress_Uploader::image_sizes_advanced( array $sizes )
Description #
Callback for hook intermediate_image_sizes_advanced
.
Parameters #
- $sizesarray (Required) Image sizes.
Source #
File: includes/upload.php
public static function image_sizes_advanced( $sizes ) { global $ap_thumbnail_only; if ( true === $ap_thumbnail_only ) { return array( 'thumbnail' => array( 'width' => 150, 'height' => 150, 'crop' => true, ), ); } return $sizes; }
Expand full source code Collapse full source code View on GitHub: includes/upload.php:277
Add your comment