PHP Class Elementor\Group_Control_Image_Size

Inheritance: extends Group_Control_Base
Show file Open project: pojome/elementor

Public Methods

Method Description
get_all_image_sizes ( )
get_attachment_image_html ( array $settings ) : string
get_attachment_image_src ( $attachment_id, $group_name, $instance )
get_type ( )

Protected Methods

Method Description
_get_child_default_args ( )
_get_controls ( $args )

Private Methods

Method Description
_get_image_sizes ( )

Method Details

_get_child_default_args() protected method

protected _get_child_default_args ( )

_get_controls() protected method

protected _get_controls ( $args )

get_all_image_sizes() public static method

public static get_all_image_sizes ( )

get_attachment_image_html() public static method

public static get_attachment_image_html ( array $settings ) : string
$settings array [ image => [ id => '', url => '' ], image_size => '', hover_animation => '' ]
return string

get_attachment_image_src() public static method

public static get_attachment_image_src ( $attachment_id, $group_name, $instance )

get_type() public static method

public static get_type ( )