wp_playlist_scripts( 'audio'
);
wp_playlist_scripts( 'video'
);
} /**
* Loads the required scripts and styles for the widget control.
*
* @since 4.8.0
*/
public function enqueue_admin_scripts() { wp_enqueue_editor();
wp_enqueue_media();
wp_enqueue_script( 'text-widgets'
);
wp_add_inline_script( 'text-widgets',
sprintf( 'wp.textWidgets.idBases.push( %s );',
wp_json_encode( $this->id_base
) ) );
wp_add_inline_script( 'text-widgets', 'wp.textWidgets.init();', 'after'
);
} /**
* Outputs the Text widget settings form.
*
* @since 2.8.0
* @since 4.8.0 Form only contains hidden inputs which are synced with JS template.
* @since 4.8.1 Restored original form to be displayed when in legacy mode.
*
* @see WP_Widget_Text::render_control_template_scripts()
* @see _WP_Editors::editor()
*
* @param array $instance Current settings.
*/