__construct() __construct(string $id_base, string $name, array $widget_options = array(), array $control_options = array()) Constructor Parameters string $id_base string $name Name of widget. "[JNP]" is prepended. array $widget_options array $control_options
widget() widget(array $args, array $instance) Render the widget Parameters array $args Display arguments including 'before_title', 'after_title', 'before_widget', and 'after_widget'. array $instance The settings for the particular instance of the widget.
customize_register() customize_register(\WP_Customize_Manager $wp_customize, array $params = array()) Register customizer controls Parameters \WP_Customize_Manager $wp_customize Instance of WP_Customize_Manager passed to 'customize_register' action array $params Params for standard widget
getExpandCollapse() getExpandCollapse(boolean $collapse = true) Expand/Collapse SVGs Parameters boolean $collapse
cusomtize_validate_xml_url() cusomtize_validate_xml_url( $validity, $value) Ugly hack: Hijacked validate call for XML URL Reset last fetch time Cause: Madgex's refusal to add CORS header Parameters $validity $value
openWidget() openWidget(array $instance, array|string $classes = array(), string $extra = '') Open standard widget Parameters array $instance array|string $classes string $extra