Méthode |
Description |
|
__construct ( ) |
|
|
add_template ( ) : boolean |
Include the javascript template |
|
get_available_crop ( ) : array |
Get all the available cropping |
|
get_crop_position_label ( string $crop_position ) : string |
Return the crop position label from the slug |
|
is_crop_position ( string $crop_position ) : boolean |
Check if the crop is available |
|
localize_vars ( ) : array |
Localize the var for javascript |
|
register_assets ( ) |
Register all the assets for the admin |
|
thumbnail_rebuild ( $att_id, $thumbnails = null ) : array |
Rebuild the given attribute with the given thumbnails |
|
wp_generate_attachment_metadata_custom ( integer $attachment_id, string $file, $thumbnails = null ) : mixed |
Generate post thumbnail attachment meta data. |
|