메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
a_featured_rebuild ( ) | Rebuild the image size of a content featured image | |
a_thumbnail_rebuild ( ) : void | Rebuild the image | |
add_actions_list ( $actions, WP_Post $object ) : string | Add action in media row | |
add_field_regenerate ( array $fields, object $post ) : array | Get a thumbnail name from its slug | |
add_thumbnail_name ( array $sizes ) : array | Add the thumbnail name in the post insertion, based on new WP filter | |
admin_post_thumbnail_html ( $content, $ID ) : string | Generate HTML on the featured image size | |
enqueue_assets ( string $hook_suffix = '' ) | Register javascripts and css. | |
sizes_in_form ( array $form_fields, object $post ) : string | Add the custom sizes to the image sizes in article edition |
메소드 | 설명 | |
---|---|---|
_get_thumbnail_name ( string $thumbnailSlug = '' ) : array | Get a thumbnail name from its slug |
public static a_featured_rebuild ( ) |
public static a_thumbnail_rebuild ( ) : void | ||
리턴 | void |
public static add_actions_list ( $actions, WP_Post $object ) : string | ||
$actions | : array of actions and content to display | |
$object | WP_Post | |
리턴 | string | $actions |
public static add_thumbnail_name ( array $sizes ) : array | ||
$sizes | array | |
리턴 | array |
public static admin_post_thumbnail_html ( $content, $ID ) : string | ||
$content | ||
$ID | ||
리턴 | string |
public static enqueue_assets ( string $hook_suffix = '' ) | ||
$hook_suffix | string |