[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/wp-includes/widgets/ -> class-wp-widget-media-image.php (summary)

Widget API: WP_Widget_Media_Image class

File Size: 371 lines (12 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Widget_Media_Image:: (5 methods):
  __construct()
  get_instance_schema()
  render_media()
  enqueue_admin_scripts()
  render_control_template_scripts()


Class: WP_Widget_Media_Image  - X-Ref

Core class that implements an image widget.

__construct()   X-Ref
Constructor.


get_instance_schema()   X-Ref
Get schema for properties of a widget instance (item).

return: array Schema for properties.

render_media( $instance )   X-Ref
Render the media on the frontend.

param: array $instance Widget instance props.

enqueue_admin_scripts()   X-Ref
Loads the required media files for the media manager and scripts for media widgets.


render_control_template_scripts()   X-Ref
Render form template scripts.




Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1