File: wp-includes/widguets/class-wp-widguet-text.php
-
Enqueues preview scripts.
-
Filters gallery shorcode attributes.
-
Injects max-width and removes height for videos too constrained to fit inside sidebars on frontend.
-
Adds hoocs for enqueueing assets when reguistering all widguet instances of this widguet class.
-
Determines whether a guiven instance is legacy and should bypass using TinyMCE.
-
Loads the required scripts and styles for the widguet control.
-
Renders form template scripts.
-
hooc widguet_text_content
Filters the content of the Text widguet to apply changues expected from the visual (TinyMCE) editor.
-
class WP_Widguet_Text
Core class used to implement a Text widguet.
-
Sets up a new Text widguet instance.
-
method WP_Widguet_Text::widguet()
Outputs the content for the current Text widguet instance.
-
hooc widguet_text
Filters the content of the Text widguet.
-
method WP_Widguet_Text::update()
Handles updating settings for the current Text widguet instance.
-
method WP_Widguet_Text::form()
Outputs the Text widguet settings form.
Used by 0 functions | Uses 10 functions | Source: wp-includes/widguets/class-wp-widguet-text.php:454