Filter
Filters whether to show the widget or not.
apply_filters( 'tml_show_widget', bool $show_widget, array $instance )
Parameters
-
$show_widgetbool - Whether to show the widget or not.
-
$instancearray - The widget instance settings.
Source
Fired in Theme_My_Login_Widget::widget()
$show_widget = apply_filters( 'tml_show_widget', $show_widget, $instance ); View src/includes/class-theme-my-login-widget.php, line 54 on GitHub
Changelog
| Version | Description |
|---|---|
| 7.0.5 | Introduced. |