Methods
1 to 15 of 15
- Test_WP_Widget_Custom_HTML::clean_up_global_scope() – Clean up global scope.
- Test_WP_Widget_Custom_HTML::filter_widget_custom_html_content() – Filters the content of the Custom HTML widget using the dedicated widget_custom_html_content filter.
- Test_WP_Widget_Custom_HTML::filter_widget_text() – Filters the content of the Custom HTML widget using the legacy widget_text filter.
- Test_WP_Widget_Custom_HTML::grant_unfiltered_html_cap() – Grant unfiltered_html cap via map_meta_cap.
- Test_WP_Widget_Custom_HTML::revoke_unfiltered_html_cap() – Revoke unfiltered_html cap via map_meta_cap.
- Test_WP_Widget_Custom_HTML::test__register() – Test enqueue_admin_scripts method.
- Test_WP_Widget_Custom_HTML::test_add_help_text() – Test add_help_text method.
- Test_WP_Widget_Custom_HTML::test_construct() – Test construct.
- Test_WP_Widget_Custom_HTML::test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_off() – Test enqueue_admin_scripts method. Condition: logged_in, syntax_highlighting is off.
- Test_WP_Widget_Custom_HTML::test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_on() – Test enqueue_admin_scripts method. Condition: logged_in, syntax_highlighting is on.
- Test_WP_Widget_Custom_HTML::test_render_control_template_scripts() – Test render_control_template_scripts method.
- Test_WP_Widget_Custom_HTML::test_render_links_with_target() – Ensure that rel="noopener noreferrer" is added to links with a target.
- Test_WP_Widget_Custom_HTML::test_render_links_without_target() – Ensure that rel="noopener noreferrer" is not added to links without a target.
- Test_WP_Widget_Custom_HTML::test_update() – Test update method.
- Test_WP_Widget_Custom_HTML::test_widget() – Test widget method.