It is a wrapper of the procedure for use of the Post Thumbnail
$WPsB_Post_Thumbnails = new WPsB_Post_Thumbnails( array(
"options" => array(
'post'
),
"add_image_size" => array(
array(
"name" => "your_image_size",
"width" => 900,
"height" => 500,
"crop" => true
)
)
) );
$WPsB_Post_Thumbnails->register();
["options"]
, See Function Reference/add theme support « WordPress Codex
["add_image_size"]
, See add_image_size() | Function | WordPress Developer Resources
- Unit Test
GPLv2 or later